Zet - How do I use vim without plugins?
How do I use vim without plugins?
Netrw
Use :Explore, move to a file, and press:
Enter= open normallyv= open in vertical split (like a preview pane)s= open in horizontal splitt= open in a tabi= to cycle list styless= Change sort field (name, time, size)r= Reverse sort order (toggle)
See more using help netrw-browse-maps
Making netrw nicer and add status bar with current file path
let g:netrw_banner=0 " Hide annoying banner
let g:netrw_altv=1 " Put vertical splits to the right
let g:netrw_liststyle = 1 " Long listing style (like `ls -l`)
Statusline
set laststatus=2
set statusline=
set statusline+=%F " Absolute File path
set statusline+=\ [%{&filetype}:%{&fileformat}] " Filetype and format
set statusline+=\ %m " Modified flag
set statusline+=\ %y " Vim's idea of file type
set statusline+=\ %= " Align next bit right
set statusline+=%l:%c " Line and column
find
set path+=** " search down into subfolders
set wildmenu " Display all matching files with tab
#vim #vim-no-plugins