~ neon /.vimrc

set langmap=Ж:,йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,оj,лk,дl,э',яz,чx,сc,мv,иb,тn,ьm,б\,,ю.,ё`
set nowrap              
set nohlsearch          
set ignorecase          
syntax on
set sidescroll=3
set listchars+=precedes:<,extends:>
set incsearch           
set nosmartindent

hi MatchParen ctermfg=cyan ctermbg=black

" set HTML::Mason syntax
imap  :syntax off:runtime! syntax/mason.vima
nmap  :syntax off:runtime! syntax/mason.vim

au BufNewFile,BufRead *.html exe "set syntax=mason.vim"
au BufNewFile,BufRead *Elements/* exe "set syntax=mason.vim"


" autocomplete
imap  
imap  :wa
nmap  :w

imap  :setnu!a
nmap  :setnu!
imap  

" file browser
map  n:Ex
nmap  n:Exi
imap  m:Exi

" save & exit
imap  :wq!
nmap  :wq!

" exit without saving
imap  :q!
nmap  :q!


nmap  n
imap  na
" window up
nmap  k_
imap  k_a
" window down
nmap  j_
imap  j_a

if has("autocmd")
        autocmd FileType text setlocal textwidth=78
        "filetype plugin indent on
        autocmd BufReadPost *   if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"" | endif
endif