import custom options, keybindings and commands
This commit is contained in:
		
							parent
							
								
									4a37a0a9b1
								
							
						
					
					
						commit
						cbe80a2bf4
					
				
							
								
								
									
										6
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										6
									
								
								init.lua
								
								
								
								
							|  | @ -230,6 +230,8 @@ vim.o.completeopt = 'menuone,noselect' | ||||||
| -- NOTE: You should make sure your terminal supports this | -- NOTE: You should make sure your terminal supports this | ||||||
| vim.o.termguicolors = true | vim.o.termguicolors = true | ||||||
| 
 | 
 | ||||||
|  | require('custom/options') | ||||||
|  | 
 | ||||||
| -- [[ Basic Keymaps ]] | -- [[ Basic Keymaps ]] | ||||||
| 
 | 
 | ||||||
| -- Keymaps for better default experience | -- Keymaps for better default experience | ||||||
|  | @ -240,6 +242,8 @@ vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true }) | ||||||
| vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) | vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) | ||||||
| vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) | vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) | ||||||
| 
 | 
 | ||||||
|  | require('custom/keybindings') | ||||||
|  | 
 | ||||||
| -- [[ Highlight on yank ]] | -- [[ Highlight on yank ]] | ||||||
| -- See `:help vim.highlight.on_yank()` | -- See `:help vim.highlight.on_yank()` | ||||||
| local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) | local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) | ||||||
|  | @ -495,3 +499,5 @@ cmp.setup { | ||||||
| 
 | 
 | ||||||
| -- The line beneath this is called `modeline`. See `:help modeline` | -- The line beneath this is called `modeline`. See `:help modeline` | ||||||
| -- vim: ts=2 sts=2 sw=2 et | -- vim: ts=2 sts=2 sw=2 et | ||||||
|  | 
 | ||||||
|  | require('custom/commands') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue