This commit is contained in:
Daniel Flanagan 2022-07-21 11:53:08 -05:00
parent a756980ecc
commit 765a7645bd
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 10 additions and 9 deletions

View file

@ -105,13 +105,10 @@ if has_command kubectl
alias kg "k get" alias kg "k get"
end end
alias vim $EDITOR
alias vi $EDITOR
alias v $EDITOR alias v $EDITOR
alias e $EDITOR alias e $EDITOR
alias sv "sudo -E $EDITOR" alias sv "sudo -E $EDITOR"
alias se sv alias se sv
alias svim sv
function ltl --wraps=ls --description "Echoes the name of the file most recently modified either in the current directory or in the given path" function ltl --wraps=ls --description "Echoes the name of the file most recently modified either in the current directory or in the given path"
set d $argv[1] . set d $argv[1] .

View file

@ -14,16 +14,16 @@ set --export --universal LESS "-r"
set --export --universal MANPAGER 'env MANWIDTH="" "$EDITOR"' set --export --universal MANPAGER 'env MANWIDTH="" "$EDITOR"'
if command --search --quiet nvim if command --search --quiet helix
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
set --export --universal EDITOR nvim
set --export --universal VISUAL nvim
else if command --search --quiet helix
set --export --universal EDITOR helix set --export --universal EDITOR helix
set --export --universal VISUAL helix set --export --universal VISUAL helix
else if command --search --quiet hx else if command --search --quiet hx
set --export --universal EDITOR hx set --export --universal EDITOR hx
set --export --universal VISUAL hx set --export --universal VISUAL hx
else if command --search --quiet nvim
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
set --export --universal EDITOR nvim
set --export --universal VISUAL nvim
else if command --search --quiet vim else if command --search --quiet vim
set --export --universal EDITOR vim set --export --universal EDITOR vim
set --export --universal VISUAL vim set --export --universal VISUAL vim

View file

@ -24,9 +24,13 @@ g = { G = "goto_last_line" }
D = "kill_to_line_end" D = "kill_to_line_end"
C = ["kill_to_line_end", "insert_mode"] C = ["kill_to_line_end", "insert_mode"]
"^" = "goto_line_start" "^" = "goto_line_start"
"C-k" = "jump_view_up"
"C-j" = "jump_view_down"
"C-h" = "jump_view_left"
"C-l" = "jump_view_right"
[keys.select] [keys.select]
g = { G = "goto_last_line" } g = { G = "goto_last_line" }
# [editor] # [editor]
# mouse = false # mouse = false