Code Monkey home page Code Monkey logo

term-tools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

term-tools's Issues

Don't remember last known line for git commit message

I stole most of my vimrc from you, so I figured I would give back

" Jump to last known line when opening a file (change ' to ` to do column too)
" In the exe "normal'\"" statement
autocmd BufReadPost *
  \ if &ft =~ 'COMMIT_EDITMSG' |
  \   if line("'\"") > 0 && line("'\"") <= line("$") |
  \     exe "normal g`\"" |
  \     if foldlevel('.') > 0 |
  \       exe "normal zO" |
  \     endif |
  \   endif |
  \ endif

Better solarized colors

It seems that the solarized repo you are using (and the one I was using until recently) is orphaned.

So many people forked it, but I think I found a rather active one (not that active is good).

They fixed a few issues with some of the more obscure options but the main thing I like is that they defined a global dictionary that allows you to do:

"Vim signify
" match solarized colors
exe "hi! SignifySignAdd"    .g:solarized_vars['fmt_bold'] .g:solarized_vars['fg_green']
exe "hi! SignifySignDelete" .g:solarized_vars['fmt_bold'] .g:solarized_vars['fg_red']
exe "hi! SignifySignChange" .g:solarized_vars['fmt_bold'] .g:solarized_vars['fg_orange']

instead of the hard coded values you had. It makes things more resilient if you ever use gvim (oh and those colors don't really correspond to yours, but you get the point)

I didn't agree with a change they made to the LineNr background so I forked theirs and changed it back :D.

https://github.com/hmaarrfk/vim-colors-solarized

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.