Skip to content

loz/vimstuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

#Useful Settings:

#expand tabs into spaces
set expandtab

#set indent width using << or >>
set shiftwidth=2

#set highlight search terms
set hlsearch

#highlight and incrementally search
set incsearch

#don't wrap each line
set nowrap

#enable mouse (xterm, not sure about gnome)
set mouse=a

#Search and Replace
/mysearch/
now replace
:%s//new_replacement/g

#split and find a file matching a file in tree
:sf _regex_
(Ctrl-W to switch windows)

#find and open
:fin _regex_ 

#to type keys on your keyboard like enter:
#Ctrl-V then key press works in map

#Tab Support!
:tabnew
#can swich with mouse, or CTRL-PAGEUP/DOWN
:tabn (next)
:tabp (previous)
:close will close

About

Useful VIM stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published