Switch default to nvim

Sat, 25 Feb 2023 13:22:29 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 25 Feb 2023 13:22:29 -0500
changeset 1051
5c69bfa6dc3c
parent 1050
6fb014427493
child 1052
1ff243e9e6ca

Switch default to nvim

.profile.common file | annotate | diff | comparison | revisions
.zshrc file | annotate | diff | comparison | revisions
bin/privim file | annotate | diff | comparison | revisions
--- a/.profile.common
+++ b/.profile.common
@@ -1,6 +1,7 @@
 # vim: ft=bash
 # simple profile stuff that is common to both zsh and bash
 
+# most ssh versions support include now, see if i can...
 make -s -C ~/.ssh || {
   umask 077
   cat ~/.ssh/config.d/* > ~/.ssh/config
@@ -8,15 +9,17 @@ make -s -C ~/.ssh || {
 
 umask 027
 
+HISTIGNORE="ls:cd:cd -:pwd:exit:date:privim"
+
 export MANPATH=$HOME/.man:$HOME/.local/share/man:
 
-export EDITOR=vim
+# TODO: detect presence
+export EDITOR=nvim
 export SUDO_EDITOR=$HOME/bin/privim
 export LESS='Ri'
 export GPG_TTY="$(tty)"
 
 export PERL_CPANM_OPT='-nq --prompt'
-export DEVEL_REPL_PROFILE='Standard'
 
 export ASDF_CONCURRENCY='2'
 export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc"
--- a/.zshrc
+++ b/.zshrc
@@ -35,7 +35,6 @@ fi
 
 KEYTIMEOUT=25
 REPORTTIME=5
-HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"
 
 setopt list_packed
 setopt correct
--- a/bin/privim
+++ b/bin/privim
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec vim -c 'set noswapfile noundofile nobackup viminfo=' $*
+exec nvim -c 'set noswapfile noundofile nobackup viminfo=' $*

mercurial