Skip to content

Commit 908ae46

Browse files
committed
feat(nvim): ghostty-navigator.nvim
1 parent 31b8899 commit 908ae46

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

nix/modules/home-manager.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ in
8686
".config/agents/skills" = {
8787
source = config.lib.file.mkOutOfStoreSymlink "${config.home.sessionVariables.DOTFILES_HOME}/nix/files/agents/skills";
8888
};
89+
8990
};
9091
home.shell.enableFishIntegration = true;
9192
home.stateVersion = "23.05";
@@ -125,10 +126,7 @@ in
125126
font-size = 14;
126127
keybind = [
127128
"global:control+grave_accent=toggle_quick_terminal"
128-
"ctrl+shift+h=goto_split:left"
129-
"ctrl+shift+j=goto_split:bottom"
130-
"ctrl+shift+k=goto_split:top"
131-
"ctrl+shift+l=goto_split:right"
129+
132130
"ctrl+shift+enter=toggle_split_zoom"
133131
"ctrl+shift+u=scroll_page_up"
134132
"ctrl+shift+d=scroll_page_down"

nvim/lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"conform.nvim": { "branch": "master", "commit": "c2526f1cde528a66e086ab1668e996d162c75f4f" },
55
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
66
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
7+
"ghostty-navigator.nvim": { "branch": "main", "commit": "effea512c0c443feb1dcb25449be5556646b93db" },
78
"gitsigns.nvim": { "branch": "main", "commit": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519" },
89
"grug-far.nvim": { "branch": "main", "commit": "275dbedc96e61a6b8d1dfb28ba51586ddd233dcf" },
910
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },

nvim/lua/config/keymaps.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ map({ "n", "x" }, "k", "v:count == 0 ? 'gk' : 'k'", { desc = "Up", expr = true,
99
map({ "n", "v" }, "J", "5j", { desc = "Down 5 Lines" })
1010
map({ "n", "v" }, "K", "5k", { desc = "Up 5 Lines" })
1111

12-
-- Move to window using the <ctrl> hjkl keys
13-
map("n", "<C-h>", "<C-w>h", { desc = "Go to Left Window", remap = true })
14-
map("n", "<C-j>", "<C-w>j", { desc = "Go to Lower Window", remap = true })
15-
map("n", "<C-k>", "<C-w>k", { desc = "Go to Upper Window", remap = true })
16-
map("n", "<C-l>", "<C-w>l", { desc = "Go to Right Window", remap = true })
17-
1812
-- Resize window using <ctrl> arrow keys
1913
map("n", "<C-Up>", "<cmd>resize +2<cr>", { desc = "Increase Window Height" })
2014
map("n", "<C-Down>", "<cmd>resize -2<cr>", { desc = "Decrease Window Height" })

nvim/lua/plugins.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
local icons = require("config").icons
22

3+
local dev_ghostty_navigator = false
4+
35
return {
46
-- amp.nvim (https://github.com/sourcegraph/amp.nvim)
57
{
@@ -9,6 +11,14 @@ return {
911
opts = { auto_start = true, log_level = "info" },
1012
},
1113

14+
-- ghostty-navigator.nvim (https://github.com/tmm/ghostty-navigator.nvim)
15+
{
16+
"tmm/ghostty-navigator.nvim",
17+
dev = dev_ghostty_navigator,
18+
build = "make",
19+
opts = {},
20+
},
21+
1222
-- blink.cmp (https://github.com/saghen/blink.cmp)
1323
{
1424
"saghen/blink.cmp",

0 commit comments

Comments
 (0)