Dotfiles V.1.1.5
Updated Neovim Plugins as well as cleaned up aerospace config and sketbar config and added fastfetch config
This commit is contained in:
18
.config/nvim/lua/jirr02/plugins/smart_splits.lua
Normal file
18
.config/nvim/lua/jirr02/plugins/smart_splits.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"mrjones2014/smart-splits.nvim",
|
||||
config = function()
|
||||
local smart_splits = require("smart-splits")
|
||||
|
||||
smart_splits.setup({})
|
||||
|
||||
vim.keymap.set("n", "<C-S-h>", smart_splits.resize_left)
|
||||
vim.keymap.set("n", "<C-S-j>", smart_splits.resize_down)
|
||||
vim.keymap.set("n", "<C-S-k>", smart_splits.resize_up)
|
||||
vim.keymap.set("n", "<C-S-l>", smart_splits.resize_right)
|
||||
-- moving between splits
|
||||
vim.keymap.set("n", "<C-h>", smart_splits.move_cursor_left)
|
||||
vim.keymap.set("n", "<C-j>", smart_splits.move_cursor_down)
|
||||
vim.keymap.set("n", "<C-k>", smart_splits.move_cursor_up)
|
||||
vim.keymap.set("n", "<C-l>", smart_splits.move_cursor_right)
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user