aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-14 13:19:38 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-14 13:19:38 +0100
commit7f02bf3881b3223339c47fc2a519c639d1aa3ca6 (patch)
tree20108e3c55ccce09d69992a34712355f071c4ab3 /.config/nvim
parent53b98a0db9269143d789817e062211fcd442449f (diff)
vim-colorizer -> vim-hexokinase
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim20
1 files changed, 18 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 8facb45..c1005f9 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -1,5 +1,5 @@
let mapleader = " "
-set number relativenumber
+" set number relativenumber
set tabstop=4
set wrap
set ai
@@ -43,7 +43,6 @@ Plug 'tpope/vim-surround'
Plug 'itchyny/lightline.vim'
Plug 'itchyny/vim-gitbranch'
Plug 'terryma/vim-multiple-cursors'
-Plug 'vim-scripts/colorizer'
Plug 'AndrewRadev/tagalong.vim'
Plug 'tpope/vim-commentary'
Plug 'liuchengxu/vim-which-key'
@@ -57,6 +56,7 @@ Plug 'airblade/vim-gitgutter'
Plug 'wellle/targets.vim'
Plug 'dstein64/vim-startuptime'
Plug 'vim-scripts/DoxygenToolkit.vim'
+Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
" language plugins
Plug 'lervag/vimtex'
@@ -102,6 +102,11 @@ nmap <CR> o<Esc>
nnoremap <A-j> :m +1<CR>
nnoremap <A-k> :m -2<CR>
+imap <C-h> <Left>
+imap <C-j> <Down>
+imap <C-k> <Up>
+imap <C-l> <Right>
+
" leader keybindings
nnoremap <silent> <leader> :WhichKey '<space>'<CR>
@@ -193,6 +198,17 @@ let g:which_key_map['.'] = {
cnoreabbrev W w
cnoreabbrev sudow w !sudo tee %
+" hexokinase
+
+let g:Hexokinase_optInPatterns = [
+ \ 'full_hex',
+ \ 'triple_hex',
+ \ 'rgb',
+ \ 'rgba',
+ \ 'hsl',
+ \ 'hsla'
+ \ ]
+
" colorscheme thingers
if filereadable(expand('~/.local/share/mode/light'))