Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (24 sloc) 759 Bytes
let mapleader = ","
" Don't use Ex mode, use Q for formatting
map Q gq
"make Y consistent with C and D
nnoremap Y y$
" toggle highlight trailing whitespace
nmap <silent> <leader>s :set nolist!<CR>
" Ctrl-N to disable search match highlight
nmap <silent> <C-N> :silent noh<CR>
" Ctrol-E to switch between 2 last buffers
nmap <C-E> :b#<CR>
" ,e to fast finding files. just type beginning of a name and hit TAB
nmap <leader>e :e **/
" Make shift-insert work like in Xterm
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
" ,n to get the next location (compilation errors, grep etC)
nmap <leader>n :cn<CR>
"set completeopt=menuone,preview,longest
set completeopt=menuone,preview
" driving me insane this thing
nmap :W :w
nmap :Q :q
nmap :E :e
Jump to Line
Something went wrong with that request. Please try again.