aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/plugin/harpoon.vim
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-02 19:09:29 -0600
committerToby Vincent <tobyv13@gmail.com>2022-03-02 19:09:29 -0600
commit6a36592700b75e3658584db672f09ee33b2ba840 (patch)
treedd908e0eadd96e168f2d723e4d778ee3e037b81b /nvim/plugin/harpoon.vim
parent10c8ca3c945a1bf7adffbb1dbac0789be85387e0 (diff)
feat: woof
Diffstat (limited to 'nvim/plugin/harpoon.vim')
-rw-r--r--nvim/plugin/harpoon.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/nvim/plugin/harpoon.vim b/nvim/plugin/harpoon.vim
new file mode 100644
index 0000000..46c3a31
--- /dev/null
+++ b/nvim/plugin/harpoon.vim
@@ -0,0 +1,19 @@
+lua require("theprimeagen")
+
+" Terminal commands
+" ueoa is first through fourth finger left hand home row.
+" This just means I can crush, with opposite hand, the 4 terminal positions
+"
+" These functions are stored in harpoon. A plugn that I am developing
+nnoremap <silent><leader>a :lua require("harpoon.mark").add_file()<CR>
+nnoremap <silent><C-e> :lua require("harpoon.ui").toggle_quick_menu()<CR>
+nnoremap <silent><leader>tc :lua require("harpoon.cmd-ui").toggle_quick_menu()<CR>
+
+nnoremap <silent><C-h> :lua require("harpoon.ui").nav_file(1)<CR>
+nnoremap <silent><C-t> :lua require("harpoon.ui").nav_file(2)<CR>
+nnoremap <silent><C-n> :lua require("harpoon.ui").nav_file(3)<CR>
+nnoremap <silent><C-s> :lua require("harpoon.ui").nav_file(4)<CR>
+nnoremap <silent><leader>tu :lua require("harpoon.term").gotoTerminal(1)<CR>
+nnoremap <silent><leader>te :lua require("harpoon.term").gotoTerminal(2)<CR>
+nnoremap <silent><leader>cu :lua require("harpoon.term").sendCommand(1, 1)<CR>
+nnoremap <silent><leader>ce :lua require("harpoon.term").sendCommand(1, 2)<CR>