change vimfiler, add remote keybindings for i3
This commit is contained in:
parent
4ad34c4e48
commit
3758e4cb45
3 changed files with 17 additions and 5 deletions
11
.i3/config
11
.i3/config
|
|
@ -55,6 +55,7 @@ bindsym $mod+d exec i3-dmenu-desktop --dmenu='rofi -dmenu'
|
|||
bindsym $mod+F12 exec xscreensaver-command -lock
|
||||
bindsym $mod+Shift+y exec xinput-toggle -r yubikey -n -e -t 10
|
||||
bindsym $mod+Shift+f exec --no-startup-id xmodmap ~/.Xmodmap
|
||||
bindsym $mod+Shift+s exec xfce4-screenshooter
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
|
|
@ -195,6 +196,16 @@ mode "moveworkspace" {
|
|||
|
||||
bindsym $mod+t mode "moveworkspace"
|
||||
|
||||
mode "goremote" {
|
||||
bindsym g exec "remmina -c ~/.local/share/remmina/1523485448993.remmina"; mode "default"
|
||||
bindsym t exec "run_terminal -x ssh -p 2222 barak@rack.0b100.net"; mode "default"
|
||||
bindsym p exec "run_terminal -x ssh -p 2222 barak@barakmich.com"; mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+Shift+Control+r mode "goremote"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
#bar {
|
||||
|
|
|
|||
3
.vimrc
3
.vimrc
|
|
@ -567,7 +567,8 @@ endfunction
|
|||
|
||||
" I don't know how I came up with gt for opening the tree, but it stuck.
|
||||
"nmap gt :NERDTreeToggle<CR>
|
||||
nmap <silent> gt :VimFilerExplorer -winwidth=40 -toggle -direction=rightbelow -parent -status -force-hide<CR>
|
||||
"nmap <silent> gt :VimFilerExplorer -winwidth=40 -toggle -direction=rightbelow -parent -status -force-hide<CR>
|
||||
nmap <silent> gt :VimFiler -status -auto-cd -parent<CR>
|
||||
" The same for the TagList, useful for large C files.
|
||||
"nmap gb :TlistToggle<CR>
|
||||
nmap gb :TagbarToggle<CR>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "`which terminator`" ]; then
|
||||
terminator
|
||||
terminator $@
|
||||
elif [ -n "`which gnome-terminal`" ]; then
|
||||
gnome-terminal
|
||||
gnome-terminal $@
|
||||
elif [ -n "`which urxvt`" ]; then
|
||||
urxvt
|
||||
urxvt $@
|
||||
else
|
||||
xterm
|
||||
xterm $@
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue