tmux mappings, nvim mappings
This commit is contained in:
parent
ff697b350b
commit
9ebad0abf1
@ -10,6 +10,7 @@ return {
|
||||
}
|
||||
},
|
||||
keys = {
|
||||
{ '<Leader>fb', '<cmd>Telescope buffers<CR>' },
|
||||
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },
|
||||
{ '<Leader>fg', '<cmd>Telescope live_grep<CR>' },
|
||||
{ '<Leader>fc', '<cmd>Telescope git_commits<CR>' },
|
||||
|
||||
4
home/user/.config/tmux/aliases.conf
Normal file
4
home/user/.config/tmux/aliases.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# vim: ft=tmux
|
||||
|
||||
|
||||
set -g command-alias kill='kill-session -t'
|
||||
@ -15,8 +15,13 @@ bind -T off F12 \
|
||||
set -u key-table \;\
|
||||
set status on
|
||||
|
||||
|
||||
# Switch new named session
|
||||
bind n command-prompt -p "New session:" "new-session -d -s '%1' \; switch-client -t '%1'"
|
||||
|
||||
# Call prompt via Alt+;
|
||||
bind -n 'M-;' command-prompt
|
||||
|
||||
# Zoom pane
|
||||
bind -n M-f resize-pane -Z
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@ source-file "$HOME/.config/tmux/mappings.conf"
|
||||
source-file "$HOME/.config/tmux/options.conf"
|
||||
source-file "$HOME/.config/tmux/style.conf"
|
||||
source-file "$HOME/.config/tmux/plugins.conf"
|
||||
source-file "$HOME/.config/tmux/aliases.conf"
|
||||
|
||||
if-shell 'test -n "$SSH_CLIENT"' 'source-file "$HOME/.config/tmux/remote.conf"'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user