|
What are people's thoughts on spf-13? I've been using it for a while now with some minor tweaks (mostly to remove some plugins I don't use, and to add in ragtag) and it seems to work out OK. It's definitely a bit bloated, though.
|
# ¿ Jun 4, 2013 23:56 |
|
|
# ¿ Apr 27, 2024 07:03 |
|
Scat Cat posted:Anyways! I'd like to learn Vim this summer. I briefly read over your OP and was wondering if you, or any other users have any tips for beginners. Remap H to ^ (beginning of line) and L to $ (end of line). Stumbled on it in someone's .vimrc a while back and now I can't live without it. ; to : is good too, saves hitting shift every time you want to use a command.
|
# ¿ Jun 5, 2013 01:43 |
|
I'm not an expert (hell, I've never even used vimscript for anything) so this is completely just spitballing. But this part:ArcticZombie posted:\='<p id="'.n.'">'/ -- I get that this is the replacement part of the s command and I can see the different parts of it but it starts with an escaped equals sign, has quotes surrounding it and the variable part and some periods around the variable too? Looks like it's doing string concatenation to me ( <p id -", the variable n, and "> joined by the . operator). The escaped equals sign looks like it tells Vim to not literally replace <p> with '<p id="'.n.'">' (Take a look here). edit: Removed a misunderstanding on my part. jony neuemonic fucked around with this message at 18:06 on Aug 11, 2013 |
# ¿ Aug 11, 2013 15:07 |
|
The Laplace Demon posted::help for / :for Whoops, I apparently mistook "doesn't support the exact same syntax" for "doesn't support for loops." Edited my post.
|
# ¿ Aug 11, 2013 18:08 |
|
smug forum rear end in a top hat posted:anyone using powerline for vim? https://github.com/Lokaltog/powerline I'm using airline, same idea though. They're both really good.
|
# ¿ Dec 4, 2013 13:57 |
|
I finally got motivated to sit down and rewrite my vim config. Despite getting over the "turn VIM into an IDE" bug and slimming it down by 1/3rd it's still 125 lines. Sure runs a lot better, though.
|
# ¿ Dec 4, 2013 19:43 |
|
Cat Plus Plus posted:I recently found out that you can now set 'relativenumber' and 'number' at the same time, and vim will show an absolute line number for current line and relative line numbers for the rest. And if you use numbers.vim you also get relative numbering in normal mode, and absolute in insert mode as a bonus. Tiger.Bomb posted:gg/.<CR>kdgg Intuitive.
|
# ¿ Dec 11, 2013 17:38 |
|
Marsol0 posted:I get something similar with: Slick, I'll have to tinker with that. Not that numbers is an overly large plugin but hey, one less thing to install.
|
# ¿ Dec 12, 2013 15:59 |
|
fuf posted:Any tips or good plugins for writing HTML with vim? He (accidentally?) wiped the readme, but I always liked Tim Pope's Ragtag. There's a walkthrough here, it's similar to Emmett/Sparkup though admittedly with less features.
|
# ¿ Apr 28, 2014 04:54 |
|
|
# ¿ Apr 27, 2024 07:03 |
|
Anyone tried out trackperlvars.vim yet? It's a handy plugin for dealing with Perl variables since it understands the different variable types (so it doesn't get confused when you want to move from definitions to uses, or globally rename a variable), but it's also supposed to highlight all uses of a variable when you put the cursor over one and that part doesn't seem to be working. e. Turns out it only defines highlights for terminal Vim. Easily fixed. jony neuemonic fucked around with this message at 18:50 on Aug 10, 2014 |
# ¿ Aug 8, 2014 05:18 |