nnoremap gl :set operatorfunc=GoogleOperator<cr>g@ vnoremap gl :<c-u>call GoogleOperator(visualmode())<cr> function! GoogleOperator(type) let saved_register = @@ [...]
map <Leader>sv <c-w>v<c-w>l map <Leader>sh <c-w>s<c-w>j
function! ToggleHomeKey()
let l:col = col('.') " current pos
" goto non whitespace start of line
execute 'normal! ^'
if col('.') == l:col " if current pos == non whitespace start of line
[...]
nmap <c-o> :ls<cr>:e #
map <leader>r mz<bar>:retab!<bar>:normal gg=G<cr>`z
"Compiles LaTeX File in background nmap <leader>cl :! runlatex % > logfile 2>&1 &<CR><CR> "Open up pdf associated with current LaTeX file nmap <leader>ol :! okular %:r.pdf > /dev/null 2>&1 &<CR><CR>
" easy indent/outdent nnoremap < << nnoremap > >>
" join lines with cursor staying in place nnoremap J mzJ`z
set guioptions+=c set guioptions+=R set guioptions-=m set guioptions-=r set guioptions-=b [...]
" list current dir files and folders nmap <c-p> :e <c-d>