#vim - Sun 29 Apr 2007 between 18:00 and 23:54

NY Lost Funds



setog3hi
IntertricityHey, I'm trying to get used to vim for coding
I moved from visual studio
Are there any tips to help make coding in vim more efficient?
for example, compile, test, recompile
LeoNerdvim isn't really an IDE, it's an editor
That said, it does have for example the :make command, which just executes "make" on your project's Makefile
IntertricityYeah, I keep asking for suggestions for a good ide, but everyone keeps telling me vim
I'm okay with vim, but I'm not good at it yet
and I need to pound out a lot of code
LeoNerdOne thing I find very useful is Ctrl-N for completing words...
Intertricitynice o.o
spiiphIntertricity, one nice thing you can do is add Vim to the list of tools in VS. Then you can edit the active file in VS with a menu command.
NyoxiLeoNerd: *nix + vim is your IDE :)
Intertricity: there is a lot of stuff, first quickfix commands which assist you with compiler errors, then there is omnicompletion, ctags and cscop integration for completion and navigation in code
and a lot more usefull stuff I don't recall from the top of my head
blikr_i want to use vi mode in bash (readline), and i'm wondering if i can have it show in my prompt whether i'm in command mode or insert. does anyone know a way to do this?
LeoNerdThat's not really a vi question, more a bash question. Try #bash
blikr_*sigh* more a readline question... and there's no #readline. thanks though.
NyoxiI think #bash is for readline too, and if I recall correctly you can't ... but better ask anyway
LeoNerdWell, yes.. but generally readline is mostly on-topic in #bash, whereas not in here.
Likewise that POSIX questions are usually considered ontopic in ##c, even though it's not strictly a C langauge question
iveqy_hi, I wonder how to make vim always save a backup of a file
gnuvince_iveqy_: :he backup
iveqy_gnuvince_: just reed that. The backup is only made when append to a file. Not when saving a file for the first time
gnuvince_iveqy_: a backup makes little sense then
iveqy_not for this particular problem
Nyoxiwhat would you like to backup if there's nothing?
hm
pkruminsHow do I bring up the list of last executed commands and choose one?
gnuvince_pkrumins: : then press up
pkruminsnice, thanks.
gnuvince_q: is also a solution
this will bring a small buffer with a list of the : commands you used
pkruminsthis one opened a new buffer, yea.
thanks
gnuvince_np
fowIn Vim, I want to replace something with a newline, what do I put in the second s field?
\r
Zao\r

Page: 1 

IrcArchive

NY Lost Funds