Compare commits

...

4 Commits

Author SHA1 Message Date
Rob Watson 57a5042860 fix(script): tmuxsess session name handling
continuous-integration/drone/push Build is passing Details
2023-10-22 08:10:38 +02:00
Rob Watson 580c971486 feat(nvim): add keymap 2023-10-22 07:55:58 +02:00
Rob Watson 3a3f6f0c1a chore(nvim): disable tmux completion 2023-10-22 07:55:18 +02:00
Rob Watson 547ec450d7 feat(nvim): add GFiles? mapping 2023-10-22 07:54:51 +02:00
4 changed files with 4 additions and 3 deletions

1
nvimrc
View File

@ -231,6 +231,7 @@ let g:fzf_action = {
\ 'ctrl-v': 'vsplit',
\ }
nmap <leader>t :GFiles<cr>
nmap <leader>g :GFiles?<cr>
nmap <leader>T :Files<cr>
nmap <leader>b :Buffers<cr>
nmap <leader>rg :Rg<cr>

View File

@ -9,7 +9,7 @@ set -e
if [ -z "$1" ]; then
cwd=$(pwd)
sessionname=$(basename "$cwd")
sessionname=$(basename "$cwd" | tr .: _)
else
sessionname="$1"
fi
@ -28,7 +28,6 @@ if [ $exitcode -ne 0 ]; then
exit $exitcode
fi
# TODO: fix sessionname containing full stop which are renamed by tmux
tmux rename-window -t "$sessionname:1" cli
tmux new-window -t "$sessionname" -n vim zsh -ic nvim
tmux select-window -t "$sessionname:1"

View File

@ -62,7 +62,7 @@ cmp.setup({
end,
},
},
{ name = "tmux", option = { all_panes = true } },
-- { name = "tmux", option = { all_panes = true } },
{ name = "path" },
{ name = "calc" },
}),

View File

@ -36,6 +36,7 @@ require("nvim-treesitter.configs").setup({
lookahead = true,
keymaps = {
["ak"] = "@keyed_element.outer",
["iv"] = "@keyed_element.inner",
["av"] = "@keyed_element.inner",
["ia"] = "@parameter.inner",
["aa"] = "@parameter.outer",