Compare commits
4 Commits
92136613a4
...
57a5042860
Author | SHA1 | Date |
---|---|---|
Rob Watson | 57a5042860 | |
Rob Watson | 580c971486 | |
Rob Watson | 3a3f6f0c1a | |
Rob Watson | 547ec450d7 |
1
nvimrc
1
nvimrc
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -62,7 +62,7 @@ cmp.setup({
|
|||
end,
|
||||
},
|
||||
},
|
||||
{ name = "tmux", option = { all_panes = true } },
|
||||
-- { name = "tmux", option = { all_panes = true } },
|
||||
{ name = "path" },
|
||||
{ name = "calc" },
|
||||
}),
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue