diff --git a/.vimrc b/.vimrc index cad8c8c..124e08d 100644 --- a/.vimrc +++ b/.vimrc @@ -33,12 +33,16 @@ Plug 'nathanaelkane/vim-indent-guides' Plug 'flazz/vim-colorschemes' Plug 'felixhummel/setcolors.vim' Plug '907th/vim-auto-save' + let g:auto_save = 1 Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } Plug 'lervag/vimtex' Plug 'Valloric/YouCompleteMe' Plug 'Kevin-Mok/vim-snippets' Plug 'SirVer/ultisnips' Plug 'ervandew/supertab' +Plug 'scrooloose/nerdcommenter' + let g:NERDTrimTrailingWhitespace = 1 + let g:NERDSpaceDelims = 1 " }}} vim-plug " " YCM/UltiSnips {{{ " diff --git a/aliases/.bash_aliases b/aliases/.bash_aliases index 76bc4d2..3d30611 100644 --- a/aliases/.bash_aliases +++ b/aliases/.bash_aliases @@ -37,8 +37,8 @@ alias r=". ~/.bashrc" alias lca="d ~/linux-config/aliases" alias vb="vi $alias_folder/.bash_aliases" alias vs="vi $alias_folder/.school_aliases" - alias vsg="vi $alias_folder/.git_aliases" - alias vsp="vi $alias_folder/.pc_aliases" + alias vag="vi $alias_folder/.git_aliases" + alias vap="vi $alias_folder/.pc_aliases" # }}} Config # # redshift diff --git a/aliases/.git_aliases b/aliases/.git_aliases index c6a5ded..7c9c464 100644 --- a/aliases/.git_aliases +++ b/aliases/.git_aliases @@ -35,4 +35,5 @@ gmrgr() { git merge --allow-unrelated-histories $1/master git remote remove $1 } +gunc() { git update-index --assume-unchanged $1 ; } # Functions }}} diff --git a/aliases/.school_aliases b/aliases/.school_aliases index eb7099e..1dffde7 100644 --- a/aliases/.school_aliases +++ b/aliases/.school_aliases @@ -74,5 +74,8 @@ run() { echo ./$1.out $line done < $1.in } + # temp + # l5 + alias mka="make all; ./bitmap_printer.out dog.bmp" # }}} # }}}