added remap for . to work in vieual mode

This commit is contained in:
Nick Nisi
2012-12-05 15:39:55 -06:00
parent b77d955121
commit dfcc4fc448

View File

@@ -201,6 +201,9 @@ nmap <leader>q :bd<cr> " close the current buffer
" switch between current and last buffer " switch between current and last buffer
nmap <leader>. <c-^> nmap <leader>. <c-^>
" enable . command in visual mode
vnoremap . :normal .<cr>
" Window movement shortcuts " Window movement shortcuts
" move to the window in the direction shown, or create a new window " move to the window in the direction shown, or create a new window
function! WinMove(key) function! WinMove(key)
@@ -310,6 +313,7 @@ function! Smart_TabComplete()
endif endif
endfunction endfunction
inoremap <tab> <c-r>=Smart_TabComplete()<CR> inoremap <tab> <c-r>=Smart_TabComplete()<CR>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Plugins " => Plugins
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""