kergoth / dotvim Goto Github PK
View Code? Open in Web Editor NEWPersonal vim Configuration
Personal vim Configuration
Elements I'd want:
Particularly the settings could let me drop some of my custom toggle mappings. Alternatively, just use unimpaired directly.
I used to do this, the problem was it scattered a bunch of tiny settings across a dozen files instead of a dozen lines in one file, it was logical, but it made it harder to find what I was looking for.
That said, I think it was more my previous splitting of vimrc into separate config/*.vim
files that was more problematic than the filetype specifics, as the boundaries are more clear.
nnoremap [e :<c-u>execute 'move -1-'. v:count1<cr>
nnoremap ]e :<c-u>execute 'move +'. v:count1<cr>
nnoremap [<space> :<c-u>put! =repeat(nr2char(10), v:count1)<cr>'[
nnoremap ]<space> :<c-u>put =repeat(nr2char(10), v:count1)<cr>
nnoremap * mv:-/\<<C-R><C-W>\><CR>`v
nnoremap # mv:+?\<<C-R><C-W>\><CR>`v
nnoremap g* mv:-/<C-R><C-W><CR>`v
nnoremap g# mv:+?<C-R><C-W><CR>`v
xnoremap <silent> * mv"vy/<C-R>=escape(@v, '\\/.*$^~[]')<CR><CR>`v
xnoremap <silent> # mv"vy?<C-R>=escape(@v, '\\/.*$^~[]')<CR><CR>`v
nnoremap * *``
nnoremap # #``
nnoremap g* g*``
nnoremap g# g#``
nnoremap <expr> n 'Nn'[v:searchforward]
xnoremap <expr> n 'Nn'[v:searchforward]
onoremap <expr> n 'Nn'[v:searchforward]
nnoremap <expr> N 'nN'[v:searchforward]
xnoremap <expr> N 'nN'[v:searchforward]
onoremap <expr> N 'nN'[v:searchforward]
let g:sneak#s_next = 1
to enable "clever-s" mode ala the clever-f plugin.set winwidth=79
set winheight=50
if has("patch-8.1.0360")
set diffopt+=internal,algorithm:patience
endif
See vim-sensible. If not, at least consider the items it has that I do not.
I believe unimpaired has this, but it needs a function for the work. Another reason to consider adopting it directly. Also, what about conflict markers?
vim somefile.c:123:2
works, to make working with stack traces and the like easier. I’ve worked around this in some cases by using my vimerrors
script, but that requires piping.These are features provided by multiple plugins where I need to compare and contrast to make a decision.
These are usually various takes on bclose
Useful if I ever move away from fzf into more stock functionality.
I don't care about 90% of these, and many of the rest are supported out of the box. The few exceptions could be dealt with individually. That said, removing it wouldn't buy me much other than a slight improvement to startup time due to not loading the ftdetects.
It does more, and also works with vim8, not just neovim. It doesn't seem to preview a replacement with the empty string, though.
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.