Joined June 2012
·
Posted to
vim to-do list
over 1 year
ago
Ags version with optional autocomplete paths so you don't have to search whole project
command -nargs=? -complete=file Todo execute "Ags" 'TODO\|FIXME\|XXX' <f-args>
Posted to
Vim exit from insert mode
over 1 year
ago
<CTRL>C
should work too
Posted to
Git number : Boost up your git command productivity!
over 1 year
ago
have you tried git add -i ?
Posted to
Write to read-only file from within VIM
over 1 year
ago
I usually map it, eg
cmap w!! w !sudo tee % >/dev/null<CR>
Posted to
+ or .concat, what is faster for appending string in Ruby?
over 1 year
ago
'+' created new object every time and '.concat' works on the same object.
Thats why 'concat' is faster and that's why you should not use it every time.
Tip: '<<' is an alias for '.concat'.
Posted to
Compress the cd, ls -la series of commands
over 1 year
ago
For me it's very annoying.
Whats happens when you go to directory with 10k files? ;)
Posted to
Tabbing in gvim
over 1 year
ago
C-PgUp and C-PgDn works for me out of box without extra mapping.
Posted to
Prevent bad vim habits
over 1 year
ago
You can use a plugin as well https://github.com/mrmargolis/dogmatic.vim it will tell you how many times you try to use arrow keys
Achievements
62 Karma
0 Total ProTip Views
Raven
Have at least one original repo where some form of shell script is the dominant language
Opabinia
Started social coding on GitHub within 6 months of its first signs of life
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
it should not be
coderWallApi.methodName
insteadcoderWallViewService.methodName
?