Strip vim entirely; EDITOR is nano
dissimulo does not use vim. Removes the editor, its config tree, its plugin
manager, and everything that would reinstall it on a re-bootstrap.
Deleted (82 files):
vim/ (64) the whole config tree, 1.7M
doc/vim/ (8) its documentation
.vimrc, vimrc, .vim
bin/yadr/vundle.rb, yadr-vim-{add,delete,list}-plugin
bin/fix_macvim_external_display.sh MacVim on macOS, dead here anyway
vimify/ vi keybindings for readline/libedit, dropped on request
Edited:
Rakefile drop the vundle require, the vim install block, the
vundle_migration and install_vundle tasks, their two helper
methods, and the macvim homebrew line. Without this a
re-bootstrap would pull all of it straight back.
install.sh .vim/.vimrc out of the symlink list
zsh/vi-mode.zsh EDITOR/VISUAL now nano. The zsh vi keybindings stay; they
are not vim.
zsh/aliases.zsh yav/ydv/ylv, the MacVim detection block and ve removed;
ae/ze/gi now open nano
git/gitconfig mvimdiff mergetool removed, editor set to nano
.tmux.conf vim-tmux-navigator replaced with direct select-pane binds.
It ran ps piped to grep on EVERY C-h/j/k/l press to ask
whether vim held the pane: two forks per pane switch for a
question that can now only answer no. mode-keys and
status-keys vi stay, being tmux own key style, unrelated to
the editor.
.gitignore/.dockerignore/Dockerfile dead paths and the vim package
Also renames the installer banner to DRUNKENDOTFILES, piped through lolcat
when present with a plain-text fallback.
Left alone: the .yadr paths (renaming the checkout is a separate job), generic
swap-file ignores, the fasd viminfo support (third-party), and prose mentions.
This commit is contained in:
+3
-15
@@ -13,9 +13,6 @@ elif [[ $unamestr == 'Darwin' ]]; then
|
||||
fi
|
||||
|
||||
# YADR support
|
||||
alias yav='yadr vim-add-plugin'
|
||||
alias ydv='yadr vim-delete-plugin'
|
||||
alias ylv='yadr vim-list-plugin'
|
||||
alias yup='yadr update-plugins'
|
||||
alias yip='yadr init-plugins'
|
||||
|
||||
@@ -48,25 +45,16 @@ TRAPHUP() {
|
||||
source $yadr/zsh/aliases.zsh
|
||||
}
|
||||
|
||||
alias ae='vim $yadr/zsh/aliases.zsh' #alias edit
|
||||
alias ae='nano $yadr/zsh/aliases.zsh' #alias edit
|
||||
alias ar='source $yadr/zsh/aliases.zsh' #alias reload
|
||||
alias gar="killall -HUP -u \"$USER\" zsh" #global alias reload
|
||||
|
||||
# vim using
|
||||
mvim --version > /dev/null 2>&1
|
||||
MACVIM_INSTALLED=$?
|
||||
if [ $MACVIM_INSTALLED -eq 0 ]; then
|
||||
alias vim="mvim -v"
|
||||
fi
|
||||
|
||||
# mimic vim functions
|
||||
alias :q='exit'
|
||||
|
||||
# vimrc editing
|
||||
alias ve='vim ~/.vimrc'
|
||||
|
||||
# zsh profile editing
|
||||
alias ze='vim ~/.zshrc'
|
||||
alias ze='nano ~/.zshrc'
|
||||
|
||||
# Git Aliases
|
||||
alias gs='git status'
|
||||
@@ -77,7 +65,7 @@ alias gsa='git stash apply'
|
||||
alias gsh='git show'
|
||||
alias gshw='git show'
|
||||
alias gshow='git show'
|
||||
alias gi='vim .gitignore'
|
||||
alias gi='nano .gitignore'
|
||||
alias gcm='git ci -m'
|
||||
alias gcim='git ci -m'
|
||||
alias gci='git ci'
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
set -o vi
|
||||
export EDITOR=vim
|
||||
export VISUAL=vim
|
||||
export EDITOR=nano
|
||||
export VISUAL=nano
|
||||
|
||||
Reference in New Issue
Block a user