Finish NVIM refactor

This commit is contained in:
stitchy 2024-11-08 00:07:26 +00:00
parent 53ef1f28c6
commit 7545885942
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
6 changed files with 108 additions and 31 deletions

View file

@ -1,25 +1,6 @@
" (Neo)vim Configuration
" By Flying_Stitchman 4 Jan 2022
" Move this to the keymap file at some point later
inoremap jk <ESC>
xnoremap gy "+y
let mapleader = " "
" fast move
noremap J 6j
noremap K 6k
noremap H <Cmd>BufferLineCyclePrev<CR>
noremap L <Cmd>BufferLineCycleNext<CR>
" Moving between windows
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
" fix it
noremap gh K
noremap M J
tnoremap <Esc> <C-\><C-n>
" nvim builtin option config
luafile /etc/nixos/config/nvim/lua/options.lua
" nvim keymapping