diff --git a/vim/.vim/templates/cpp b/vim/.vim/templates/cpp new file mode 100644 index 0000000..b296ce2 --- /dev/null +++ b/vim/.vim/templates/cpp @@ -0,0 +1,9 @@ +#include + +using namespace std; + +int main( int argc, char *argv[] ) { + + return 0; +} +# cursor: 6 del diff --git a/vim/.vimrc b/vim/.vimrc index a775972..a36858d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -79,8 +79,8 @@ nnoremap :noh nnoremap c :%s/\s\+$//e nnoremap v :%s/\n\{3,}/\r\r/e nnoremap p :set invpaste paste? -nnoremap a= :Tabularise /= -vnoremap a= :'<,'>Tabularize /= +nnoremap a :Tabularize / +vnoremap a :'<,'>Tabularize / nnoremap w vl nmap :tabp