My wife was unimpressed by VimLinearArray@programming.dev to Programmer Humor@programming.dev – 935 points – 8 months ago174Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentalias vi=nanoexport EDITOR=nano. But (neo)vim is amazing so there is no need to do that.I transfer all my files over to a Windows machine and edit them in NotepadBased nano user From my .zshrc (typing this on mobile so cope if it's wrong) case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;; I guess shell languages can't do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;; That would be too smart. Smells like kotlin's whenPut backticks around the entire case statement, and you can.You can set your default editor (maybe in .bashrc or .bash_profile? I forget), but I'm far too lazy.
alias vi=nanoexport EDITOR=nano. But (neo)vim is amazing so there is no need to do that.I transfer all my files over to a Windows machine and edit them in NotepadBased nano user From my .zshrc (typing this on mobile so cope if it's wrong) case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;; I guess shell languages can't do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;; That would be too smart. Smells like kotlin's whenPut backticks around the entire case statement, and you can.You can set your default editor (maybe in .bashrc or .bash_profile? I forget), but I'm far too lazy.
export EDITOR=nano. But (neo)vim is amazing so there is no need to do that.I transfer all my files over to a Windows machine and edit them in NotepadBased nano user From my .zshrc (typing this on mobile so cope if it's wrong) case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;; I guess shell languages can't do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;; That would be too smart. Smells like kotlin's whenPut backticks around the entire case statement, and you can.
Based nano user From my .zshrc (typing this on mobile so cope if it's wrong) case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;; I guess shell languages can't do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;; That would be too smart. Smells like kotlin's whenPut backticks around the entire case statement, and you can.
I guess shell languages can't do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;; That would be too smart. Smells like kotlin's whenPut backticks around the entire case statement, and you can.
alias vi=nano
export EDITOR=nano
.But (neo)vim is amazing so there is no need to do that.
I transfer all my files over to a Windows machine and edit them in Notepad
Based nano user
From my .zshrc (typing this on mobile so cope if it's wrong)
I guess shell languages can't do this:
That would be too smart. Smells like kotlin's when
Put backticks around the entire case statement, and you can.
You can set your default editor (maybe in .bashrc or .bash_profile? I forget), but I'm far too lazy.