Commits

Gabriel AHTUNE committed 5a63db6

Add "All" operator

Comments (0)

Files changed (1)

 set title
 set ttimeout
 set ttimeoutlen=10
-set guioptions-=m  "remove menu bar
-set guioptions-=T  "remove toolbar
+set guioptions=""
 set wildmenu
 set list
 set listchars=tab:→⋅,trail:⋅,extends:↝,nbsp:⋅,precedes:↜,eol:¬
 nnoremap <Leader>l '0
 cnoremap w!! %!sudo tee > /dev/null %
 inoremap <C-u> <C-g>u<C-u>
-
+onoremap A :<C-u>normal! ggVG<CR>
 
 augroup AutoMkdir
     autocmd!
 
 " MRU: Most Recent Used {{{2
 " ------------------------------------------------------------------------------
-noremap <silent> <F9> :MRU<CR>
+function! ToggleMRU()
+    exec "MRU"
+    nnoremap <buffer> <silent> <F9> :close<CR>
+endfunction
+noremap <silent> <F9> :call ToggleMRU()<CR>
 
 " Vim-debug {{{2
 " ------------------------------------------------------------------------------