about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-15 21:48:19 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-15 21:48:19 +0700
commitf6dc0b5223371e393addfe30a30dbd0d01ca4ec2 (patch)
tree7a8e7837b79c4bedb03faddeb12699b69c9d5bd4
parentd721c7a5f9fa2c26e97e616542b516daced4dc08 (diff)
downloaddotfiles-f6dc0b5223371e393addfe30a30dbd0d01ca4ec2.tar.gz
Update 2017-08-15
-rw-r--r--meta/.bashrc1
-rw-r--r--ranger/.config/ranger/rifle.conf1
-rwxr-xr-xvim/.vim/vimrc4
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 ... …