Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×

Блог пользователя bitcyber

Автор bitcyber, история, 7 лет назад, По-английски

Hello guys! I hope everyone is doing good and am a novice to Codeforces.

I have used the various editor for my software development and finally decided to stick to Vim for its simplicity and speed. I want to know what are you guys using (.vimrc configuration/plugins) for vim, especially for C++ competitive environment. If somebody can also help me to run a clang compiler for C++ code in Vim editor itself than It will be very helpful.

Looking forward to receiving responses from all of you guys!

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
6 лет назад, скрыть # |
← Rev. 3  
Проголосовать: нравится +2 Проголосовать: не нравится

I use tmwilliamlin168 .vimrc. Which is linked here: Vimrc I don't use any plugins but you can use as you like. For compiling, press and for executing press I also use some of my own things like brace-auto completion. My addons are here:

set autoindent set smartindent

inoremap { {} inoremap { {}O inoremap {{ { inoremap {} {} inoremap " "" inoremap ' '' inoremap ( () inoremap [ []

These are for autoindenting, smartindenting and brace completions. Feel free to use as you wish! Hoped that this helped. BTW I don't know about a clang compiler. I use mingw which is here: Mingw Compiler