diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-03-05 19:42:17 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-03-05 19:42:17 +0100 |
commit | ecfb71178c954d0cfb0a895cf483242f9db84df7 (patch) | |
tree | aa46c55eb5bea7338d91c50587477cfbd397be22 | |
parent | ea81865d7db6fd8a2bb143485a355a391ced605e (diff) |
-rw-r--r-- | .config/nvim/init.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index dac1f01..9278804 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -19,6 +19,7 @@ set linebreak " set wrap but don't wrap inside words set viminfo+='1000,n~/.local/nvim/viminfo set guifont=JetBrainsMono\ Nerd\ Font:h9:#e-subpixelantialias:#h-slight set linespace=5 +set tabpagemax=999 let g:sneak#label = 1 let g:which_key_map = {} let g:airline_powerline_fonts = 1 @@ -191,6 +192,13 @@ let g:which_key_map.u = 'toggle undo tree' cnoreabbrev W w cnoreabbrev sudow w !sudo tee % +" emacs bindings in vim command-line +cnoremap <A-b> <S-Left> +cnoremap <A-f> <S-Right> +cnoremap <C-a> <Home> +cnoremap <C-e> <End> +cnoremap <A-backspace> <C-w> + " hexokinase let g:Hexokinase_termDisabled = 1 let g:Hexokinase_optOutPatterns = [ 'colour_names' ] @@ -348,6 +356,12 @@ augroup Binary au BufWritePost *.bin set noeol augroup END +" highlight Zephyr .overlay files as devicetree source (dts) +augroup devicetree_ft + au! + au BufRead,BufNewFile *.overlay set syntax=dts +augroup END + " sneak let g:sneak#use_ic_scs = 0 |