Giter VIP home page Giter VIP logo

dotvim's People

Contributors

kergoth avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dotvim's Issues

Consider removing ALE

Elements I'd want:

  • Easy configuration of the program to lint with, likely just :compiler
  • Easy ability to run the linter without changing the main makeprg, for cases where project-wide build differs from file lint
  • Auto-run the linter on write at least, if not as you type
  • Show signs in the signcolumn for any quickfix entry
  • Show the quickfix entry message when the cursor is on the line

Consider more use of `after/` scripts rather than autocmds for filetype-specifics

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.

Configuration settings to consider

  • george-b/Vim_opfuncsteady.md, though breaking .-repeatability may be a deal breaker.
  • george-b/Vim_auto_very_magic.md
  • GitHub - george-b/wrong.vim: My take on some things that Vim really shouldn't do.
  • Various items from romainl
  • Move the current line:
    nnoremap [e  :<c-u>execute 'move -1-'. v:count1<cr>
    nnoremap ]e  :<c-u>execute 'move +'. v:count1<cr>
  • Add empty lines:
    nnoremap [<space>  :<c-u>put! =repeat(nr2char(10), v:count1)<cr>'[
    nnoremap ]<space>  :<c-u>put =repeat(nr2char(10), v:count1)<cr>
  • Replacement for vim-slash:
    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#``

Archived

  • If you want n to always search forward and N backward, use this:
    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]
  • sneak: let g:sneak#s_next = 1 to enable "clever-s" mode ala the clever-f plugin.
  • sort operator
  • substitute operator
  • repeat last edit n times
  • Consider reorganizing autocmd groups in vimrc per Dealing with autocommands#Protip
  • Set the minimum window width:
    set winwidth=79
    set winheight=50
if has("patch-8.1.0360")
	set diffopt+=internal,algorithm:patience
endif

Add navigation between diff hunks

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?

Random plugins to consider

Specific features

These are features provided by multiple plugins where I need to compare and contrast to make a decision.

Delete buffer without altering layout

These are usually various takes on bclose

  • vim-bbye. If I want to be able to do this, this seems like the best bet, a polished focused take on the original tip.
  • vim-bufkill: this is a little hefty for what it does, including a couple bits for buffer switching/navigation too.

Fade inactive windows

Fake clipboard for vim without clipboard support

Anti-FZF

Useful if I ever move away from fzf into more stock functionality.

  • vim-tinyMRU slightly nicer than :oldfiles, as it provides commands with tab completion from the oldfiles mru list.

Archived

Consider removing polyglot

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.