Color fixes, remap unimpaired

This commit is contained in:
Thomas Lovén 2020-01-22 21:43:28 +01:00
parent 84542ceb33
commit bda0664874

View File

@ -18,6 +18,8 @@ augroup colors
au colorscheme * hi SpecialKey ctermfg=1
au colorscheme * hi CursorLine ctermbg=16
au colorscheme * hi SignColumn ctermbg='None'
au colorscheme * hi Normal ctermbg='None'
au colorscheme * hi SpellBad cterm=underline ctermfg=1
augroup END
colorscheme gruvbox
@ -46,17 +48,22 @@ nnoremap _ `
nnoremap <c-_> <c-]>
nnoremap g<c-_> g<c-]>
nnoremap <leader>, <c-^>
xnoremap <tab> %
nnoremap <tab> %
" Mappings for unimpaired''''''
nmap å [
nmap ¨ ]
omap å [
omap ¨ ]
xmap å [
xmap ¨ ]
noremap åå [[
noremap ¨¨ ]]
nmap Å [
nmap å ]
omap Å [
omap å ]
xmap Å [
xmap å ]
noremap ÅÅ [[
noremap åå ]]
nmap <silent> åt :tabnext<CR>
nmap <silent> Åt :tabprev<CR>
nmap <silent> åT :tabnew<CR>
nmap <silent> ÅT :tabclose<CR>
" === SEARCH OPTIONS ===
@ -85,3 +92,9 @@ set hidden
nnoremap <silent>§ :NERDTreeToggle<CR>
set wildignore=*.o,*.d
let NERDTreeIgnore=['\.o$', '\.d$', '\~$']
" === FILE TYPES ===
augroup typescript
au!
au BufRead,BufNewFIle *.ts set filetype=javascript
augroup END