mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Refactor Neovim config for use with Neovide
This commit is contained in:
parent
90a57e23cc
commit
adf21544eb
7 changed files with 200 additions and 181 deletions
|
|
@ -13,6 +13,7 @@ function define_aliases -a uname -d 'Defines aliases for commonly used commands'
|
|||
alias age-k 'age --decrypt --identity ~/.secrets/id_ed25519 ~/.secrets/age_keys.age'
|
||||
alias bb 'bun --bun'
|
||||
alias pn pnpm
|
||||
alias nv 'neovide --fork; and clear'
|
||||
|
||||
switch "$uname"
|
||||
case Linux
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ function fish_user_key_bindings
|
|||
bind --mode insert ,a 'ssh_add; commandline -f repaint'
|
||||
bind --mode insert ,p 'nvim +"Telescope git_files"; commandline -f repaint'
|
||||
bind --mode insert ,f 'nvim +"Telescope find_files"; commandline -f repaint'
|
||||
bind --mode insert ,n 'nvim +Neotree; commandline -f repaint'
|
||||
bind --mode insert ,n 'nvim .; commandline -f repaint'
|
||||
bind --mode insert ,s 'sysz; commandline -f repaint'
|
||||
bind --mode insert ,z 'zi; commandline -f repaint'
|
||||
bind --mode insert ,t 'fzf-file-widget'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
function sshre -d 'Remove list of hosts from ssh known_hosts'
|
||||
alias ssh-rm 'ssh-keygen -f ~/.ssh/known_hosts -R'
|
||||
set -l hosts kamino khetanna marauder malevolence pi.hole git
|
||||
set -l hosts 10.0.0.1 10.0.0.5 git.mjfs.us dns cloud net git
|
||||
set -l domains lan m
|
||||
|
||||
if test -n "$argv"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue