1
0
mirror of https://github.com/amix/vimrc synced 2025-07-04 06:44:59 +08:00
This commit is contained in:
plrectco
2019-03-12 16:06:06 -07:00
parent 96b46f56ae
commit f4275cdd43
54 changed files with 1462 additions and 2627 deletions

View File

@ -1,3 +1,7 @@
" File : basic.vim
" License: MIT
" Author : Xinyue Ou <xinyue3ou@gmail.com>
" Date : 06.01.2019
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic — @amix3k
@ -139,7 +143,7 @@ if $COLORTERM == 'gnome-terminal'
endif
try
colorscheme desert
colorscheme solarized
catch
endtry
@ -380,3 +384,12 @@ function! VisualSelection(direction, extra_filter) range
let @/ = l:pattern
let @" = l:saved_reg
endfunction
" fix meta-keys which generate <Esc>a .. <Esc>z
let c='a'
while c <= 'z'
exec "set <M-".toupper(c).">=\e".c
exec "imap \e".c." <M-".toupper(c).">"
let c = nr2char(1+char2nr(c))
endw