diff --git a/vimrc b/vimrc index 9ccd9d0..4d96faf 100644 --- a/vimrc +++ b/vimrc @@ -6,6 +6,7 @@ let mapleader="," call pathogen#infect() call pathogen#helptags() +" # selecta " Run a given vim command on the results of fuzzy selecting from a given shell " command. See usage below. function! SelectaCommand(choice_command, selecta_args, vim_command) @@ -35,6 +36,9 @@ let g:gist_open_browser_after_post = 1 let g:gist_show_privates = 1 let g:gist_post_private = 1 +" # c-tags +set tags+=tags;$HOME + """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " BASIC EDITING CONFIGURATION """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -124,7 +128,7 @@ imap " Notes and other helpers map bb :!bundle install map gs :Gstatus -map gw :!git add . && git commit -m 'WIP' && git push +map gw :!git add . && git commit -m 'WIP' map pn :sp ~/Dropbox/notes/project-notes " Remove trailing whitespace on save all files. @@ -162,8 +166,8 @@ imap end imap => " Mapping ESC in insert mode and command mode to double i -imap kj -cmap kj +imap ii +cmap ii " suspend process nmap z @@ -218,6 +222,8 @@ nnoremap " ABBREVIATIONS """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" :ab teh the +:ab kewyord keyword + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " MULTIPURPOSE TAB KEY