2022-09-01 10:17:24 +00:00
|
|
|
# ÉDITEURS DISPOS
|
2022-09-02 13:53:03 +00:00
|
|
|
#fn ce {|@argv| e:emacs $@argv }
|
|
|
|
#fn ce {|@argv| e:helix $@argv }
|
|
|
|
fn ce {|@argv| e:kak $@argv }
|
|
|
|
#fn ce {|@argv| e:nvim $@argv }
|
|
|
|
#fn ce {|@argv| e:vim $@argv }
|
2021-08-24 18:44:01 +00:00
|
|
|
|
2022-09-01 10:17:24 +00:00
|
|
|
# LECTURE SEULE
|
|
|
|
## emacs
|
|
|
|
#fn cv {|@argv| ce $@argv --eval '(setq buffer-read-only)' }
|
|
|
|
## helix (pas le lecture seule pour le moment)
|
|
|
|
#fn cv {|@argv| ce $@argv }
|
|
|
|
# kak
|
|
|
|
fn cv {|@argv| ce -ro $@argv }
|
|
|
|
## nvim/vim
|
|
|
|
#fn cv {|@argv| ce -R $@argv }
|
|
|
|
|
|
|
|
edit:add-var vi~ $ce~
|
|
|
|
edit:add-var vb~ {|@argv| ce $@argv ~/.bashrc }
|
|
|
|
edit:add-var vc~ {|@argv| ce $@argv ~/.vimrc }
|
|
|
|
edit:add-var ve~ {|@argv| ce $@argv ~/.config/elvish/rc.elv }
|
|
|
|
edit:add-var vf~ {|@argv| ce $@argv ~/.config/fish/config.fish }
|
|
|
|
edit:add-var vp~ {|@argv| ce $@argv PKGBUILD }
|
|
|
|
edit:add-var vv~ $cv~
|
|
|
|
edit:add-var vz~ {|@argv| ce $@argv ~/.zshrc }
|