-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremaps.conf
46 lines (36 loc) · 1.6 KB
/
remaps.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
map ctrl+[ prev_tab
map ctrl+] next_tab
# close window
map ctrl+alt+w close_window
# layouts
# Create a new window splitting the space used by the existing one so that
# the two windows are placed one above the other
# the two windows are placed side by side if the existing window is wide or
# one above the other if the existing window is tall.
map ctrl+shift+enter launch --location=vsplit --cwd=current
map ctrl+alt+enter launch --location=hsplit --cwd=current
# Rotate the current split, chaging its split axis from vertical to
# horizontal or vice versa
map ctrl+f7 layout_action rotate
# Move the active window in the indicated direction
map shift+up move_window up
map shift+left move_window left
map shift+right move_window right
map shift+down move_window down
# Move the active window to the indicated screen edge
map ctrl+shift+up layout_action move_to_screen_edge top
map ctrl+shift+left layout_action move_to_screen_edge left
map ctrl+shift+right layout_action move_to_screen_edge right
map ctrl+shift+down layout_action move_to_screen_edge bottom
# Switch focus to the neighboring window in the indicated direction
map ctrl + alt + left neighboring_window left
map ctrl + alt + right neighboring_window right
map ctrl + alt + up neighboring_window up
map ctrl + alt + down neighboring_window down
# fzf search
map ctrl+f launch --type=overlay --stdin-source=@screen_scrollback /opt/homebrew/bin/fzf --no-sort --no-mouse --exact -i --tac
# open new tabs in the same directory
map cmd+alt+t launch --cwd=current --type=tab
# Disable for Mac
# map shift+ctrl+c copy_to_clipboard
# map ctrl+v paste_from_clipboard