diff options
-rw-r--r-- | meta/.bashrc | 1 | ||||
-rw-r--r-- | ranger/.config/ranger/rifle.conf | 1 | ||||
-rwxr-xr-x | vim/.vim/vimrc | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/meta/.bashrc b/meta/.bashrc index 1a85ab0..93593d4 100644 --- a/meta/.bashrc +++ b/meta/.bashrc @@ -97,6 +97,7 @@ alias la='ls -A' # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. alias gcc='gcc -O2 -lm' +alias g++='g++ -O2 -lm' alias fpc='fpc -O1 -XS -gl' alias mpa='mpv --no-video --loop=inf' alias mount='udevil mount' diff --git a/ranger/.config/ranger/rifle.conf b/ranger/.config/ranger/rifle.conf index aadc2f2..5b44769 100644 --- a/ranger/.config/ranger/rifle.conf +++ b/ranger/.config/ranger/rifle.conf @@ -168,6 +168,7 @@ ext djvu, has atril, X, flag f = atril -- "$@" mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" mime ^image/svg, has display, X, flag f = display -- "$@" +mime ^image, has viewnior, X, flag f = viewnior "$@" mime ^image, has pqiv, X, flag f = pqiv -- "$@" mime ^image, has sxiv, X, flag f = sxiv -- "$@" mime ^image, has feh, X, flag f = feh -- "$@" diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 5cfa33a..efb300d 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -18,7 +18,8 @@ let g:jedi#popup_select_first = 0 let g:jedi#show_call_signatures = 2 let g:jedi#smart_auto_mappings = 0 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal -autocmd FileType c,h,go,cpp,arduino setlocal noexpandtab shiftwidth=8 +autocmd FileType c,h,go setlocal noexpandtab shiftwidth=8 +autocmd FileType cpp setlocal cinoptions={s}s autocmd FileType rst setlocal shiftwidth=3 autocmd FileType css,javascript,markdown,python setlocal shiftwidth=4 autocmd FileType python syntax keyword pythonBoolean False True None @@ -26,3 +27,4 @@ autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) map Q gq inoremap <M-,> ≤ inoremap <M-.> ≥ +inoremap ... … |