Skip to content

bounceme/fairedit.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 

Repository files navigation

fairedit.vim

An adequate implementation of some of the paredit.el commands.

So far, only paredit-kill like. The functionality is exposed with mappings for flexibility, see :h map.txt.

" any operator ex. g~$ , c$ , d$ etc
omap $ <Plug>Fair_dollar

" or with the one key variants ex. C,D,Y/y$
nmap C <Plug>Fair_C
nmap D <Plug>Fair_D
if maparg('Y','n') ==# 'y$'
  nunmap Y
  nmap Y <Plug>Fair_yEOL
endif

" experimental: multiline ast balancing!
" hint: try >$ , =$ , <$ , or any plugin that defines the g@ operator
omap $ <Plug>Fair_M_dollar

nmap C <Plug>Fair_M_C
nmap D <Plug>Fair_M_D
if maparg('Y','n') ==# 'y$'
  nunmap Y
  nmap Y <Plug>Fair_M_yEOL
endif

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors