Update vimrc

This commit is contained in:
Michael Campagnaro 2014-06-25 12:41:16 -04:00
parent 7f455a6cfd
commit 6d741a4a50

12
vimrc
View File

@ -6,6 +6,7 @@ let mapleader=","
call pathogen#infect() call pathogen#infect()
call pathogen#helptags() call pathogen#helptags()
" # selecta
" Run a given vim command on the results of fuzzy selecting from a given shell " Run a given vim command on the results of fuzzy selecting from a given shell
" command. See usage below. " command. See usage below.
function! SelectaCommand(choice_command, selecta_args, vim_command) 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_show_privates = 1
let g:gist_post_private = 1 let g:gist_post_private = 1
" # c-tags
set tags+=tags;$HOME
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" BASIC EDITING CONFIGURATION " BASIC EDITING CONFIGURATION
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@ -124,7 +128,7 @@ imap <right> <nop>
" Notes and other helpers " Notes and other helpers
map <Leader>bb :!bundle install<cr> map <Leader>bb :!bundle install<cr>
map <leader>gs :Gstatus<CR> map <leader>gs :Gstatus<CR>
map <leader>gw :!git add . && git commit -m 'WIP' && git push<cr> map <leader>gw :!git add . && git commit -m 'WIP'<cr>
map <leader>pn :sp ~/Dropbox/notes/project-notes<cr> map <leader>pn :sp ~/Dropbox/notes/project-notes<cr>
" Remove trailing whitespace on save all files. " Remove trailing whitespace on save all files.
@ -162,8 +166,8 @@ imap <c-e> end
imap <c-l> <space>=><space> imap <c-l> <space>=><space>
" Mapping ESC in insert mode and command mode to double i " Mapping ESC in insert mode and command mode to double i
imap kj <C-[> imap ii <C-[>
cmap kj <C-[> cmap ii <C-[>
" suspend process " suspend process
nmap <leader>z <c-z> nmap <leader>z <c-z>
@ -218,6 +222,8 @@ nnoremap <leader><leader> <c-^>
" ABBREVIATIONS " ABBREVIATIONS
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:ab teh the :ab teh the
:ab kewyord keyword
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" MULTIPURPOSE TAB KEY " MULTIPURPOSE TAB KEY