# HG changeset patch # User Meredith Howard # Date 1677349349 18000 # Node ID 5c69bfa6dc3c661cb35174ae2b3407fa83792e69 # Parent 6fb014427493c4289650f349845b50a83c82f9d9 Switch default to nvim diff --git a/.profile.common b/.profile.common --- 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" diff --git a/.zshrc b/.zshrc --- 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 diff --git a/bin/privim b/bin/privim --- 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=' $*