diff options
author | Junliang Yan <[email protected]> | 2021-05-04 22:01:49 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-04 22:01:49 -0400 |
commit | 7c71f0f498636acb106db31bf0e8ecf9914a9c03 (patch) | |
tree | ed349806853a4aa5317d54ce46c55e0959e79129 | |
parent | b4f457301be8f645d23d13c689d2815fc1575b48 (diff) |
Improvements (#361)
* Swap setting and lv-setting order to allow customization to preserve
* Swap Left/Right to move naturally
-rw-r--r-- | init.lua | 2 | ||||
-rw-r--r-- | lua/keymappings.lua | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ require('plugins') require('lv-globals') require('lv-utils') -vim.cmd('luafile ~/.config/nvim/lv-settings.lua') require('lv-autocommands') require('settings') +vim.cmd('luafile ~/.config/nvim/lv-settings.lua') require('keymappings') require('colorscheme') require('lv-galaxyline') diff --git a/lua/keymappings.lua b/lua/keymappings.lua index 434b0500..8399cab7 100644 --- a/lua/keymappings.lua +++ b/lua/keymappings.lua @@ -25,8 +25,8 @@ vim.cmd([[ vim.cmd([[ nnoremap <silent> <C-Up> :resize -2<CR> nnoremap <silent> <C-Down> :resize +2<CR> - nnoremap <silent> <C-Left> :vertical resize -2<CR> - nnoremap <silent> <C-Right> :vertical resize +2<CR> + nnoremap <silent> <C-Left> :vertical resize +2<CR> + nnoremap <silent> <C-Right> :vertical resize -2<CR> ]]) -- better indenting |