Vim Nano
Or, how to make vim behave a lot more like nano
My vimrc:
" backspace anything
set backspace=indent,eol,start" indent plz
set autoindent" I never liked vi
set nocompatible" can haz shiny
syntax on
filetype plugin indent on" +++ Make it obvious which mode we are in
set laststatus=2 " always show status line
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
highlight Comment ctermfg=lightblue
highlight StatusLine ctermfg=yellow ctermbg=red cterm=BOLD" no wrapping plz
set nowrapset insertmode
" mappings
inoremap <C-l> <C-o>
inoremap <C-o> <C-o>:w
inoremap <C-c> <C-o>:q!
inoremap <C-x> <C-o>:q<CR>
inoremap <C-w> <C-o>/
inoremap <C-k> <C-o>dd
inoremap <C-u> <C-o>P" i like to paste
set pastetoggle=<F4>
This gives you some basic nano shortcuts, ^x to quit, ^o to write, ^w to search. It can do nano style cut/paste, but only with a single line (so far). Use ^l to type regular vim commands.