Finish NVIM refactor
This commit is contained in:
		
							parent
							
								
									53ef1f28c6
								
							
						
					
					
						commit
						7545885942
					
				
					 6 changed files with 108 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue