pazams / d-is-for-delete Goto Github PK
View Code? Open in Web Editor NEWvim- easy mapping to make 'd' delete (not cut), and 'leader-d' cut.
vim- easy mapping to make 'd' delete (not cut), and 'leader-d' cut.
Thanks for this tools, work well on classic vim,
However, it's Incompatible with pycharm ideavim plugin :(
d copy to register (not clipboard)
leader-d also seems to copy to register
how to reproduce
install pycharm
install ideavim plugin
copy this to ~/.ideavimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => pazams opinionated- ‘d is for delete’ & ‘ leader-d is for cut’ (shared clipboard register mode)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" if you are using the yankring plugin, there could be some conflicts.
" to make the most of these suggested mappings,
" make sure to delete any keys mapped below from the following line at yankring.vim
" (i.e. delete 'x' and 'D'):
" let g:yankring_n_keys = 'Y D x X'
nnoremap x "_x
nnoremap X "_X
nnoremap d "_d
nnoremap D "_D
vnoremap d "_d
if has('unnamedplus')
set clipboard=unnamed,unnamedplus
nnoremap <leader>d "+d
nnoremap <leader>D "+D
vnoremap <leader>d "+d
else
set clipboard=unnamed
nnoremap <leader>d "*d
nnoremap <leader>D "*D
vnoremap <leader>d "*d
endif
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.