Added insert before WORD and append after WORD mapping

This commit is contained in:
Talia 2017-10-19 08:41:26 +02:00
parent eb9f1a06c9
commit af04763824

9
vimrc
View file

@ -1,4 +1,3 @@
" makes use of marker ' " makes use of marker '
" some conditional configs " some conditional configs
@ -111,6 +110,8 @@ nnoremap <leader>t :Removetrailingspaces<CR>
nnoremap <C-d> :copy .<CR> nnoremap <C-d> :copy .<CR>
nnoremap dx 0"_d$ nnoremap dx 0"_d$
nnoremap dcx 0d$ nnoremap dcx 0d$
nnoremap <C-i> Bi <esc>i
nnoremap <C-a> Ea <esc>a
" Empty Lines " Empty Lines
nnoremap <ENTER> o<esc> nnoremap <ENTER> o<esc>
@ -235,8 +236,10 @@ endif
" === FILETYPE SPECIFIC STUFF === " === FILETYPE SPECIFIC STUFF ===
" Vimscript Stuff " Vimscript Stuff
au BufNewFile,BufRead .vimrc,_vimrc,*.vim,vimrc :nnoremap <buffer> <F5> :so %<CR> au BufNewFile,BufRead *.vim,*vimrc :nnoremap <buffer> <F5> :so %<CR>
au BufNewFile,BufRead .vimrc,_vimrc,*.vim,vimrc :nnoremap <leader>c A<space>"<space> au BufNewFile,BufRead *.vim,*vimrc :nnoremap <leader>c A<space>"<space>
" C / C++ Stuff
au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap <buffer> ; m'$a;<C-c>`' au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap <buffer> ; m'$a;<C-c>`'
" Ruby Stuff " Ruby Stuff