Author Topic: What is VIM?  (Read 12442 times)

0 Members and 1 Guest are viewing this topic.

Offline Xuan

  • Posts: 189
What is VIM?
« Reply #50 on: Fri, 07 October 2011, 13:26:34 »
Quote from: hashbaz;426480

edit: I should have known.  I use a plugin called vimacs to get emacs-like editing hotkeys in insert mode and while editing commands (mainly ctrl-{AKFBD}).  That plugin sets timeoutlen and also seems to be causing the weird escape behavior.  That'll teach me to mix water and oil.


Ohu! I think that's because some terminal emulators send Alt+Something as a Esc,Something sequence, so to recognize Alt commands it has to wait a bit after each time Esc is pressed. It sucks!

Quote from: hashbaz;426221
Looks nice, I'll give it a try.  My favorites are dante and candycode.


I love zenburn

Offline Daniel Beaver

  • Posts: 504
What is VIM?
« Reply #51 on: Fri, 07 October 2011, 21:18:01 »
Quote from: Xuan;427050
I love zenburn

I am also a zenburn fan. So much so that I use it in every application that I can customize color palettes for.

Home: Topre Realforce 87W45  /  Mionix Naos 3200
Work: Topre Realforce 87B  /  Microsoft Intellimouse Explorer 3.0

Offline insilica

  • Posts: 259
  • Location: GCHQ
  • Keyboard Geeza
What is VIM?
« Reply #52 on: Sat, 08 October 2011, 06:53:46 »
Just curious - I've been using VIM for most things for the past couple of years but I've recently started using sublime text for coding - well it's free (indefinite evaluation at the moment) - it's kinda of cool and I'm really taking to it - just sharing my experience
FreeBSD :: Gentoo :: Arch :: [Project Roswell] :: U2410 Eyefinity :: WC P280 :: 3930K [C2] (4.5GHz)
ASUS Maximus IV :: 64GB Vengeance :: MSI 7970 xFire ::  Seasonic 1KW :: M4 256GB

REALFORCE 87U Silent (Variable) | Filco Majestouch 2 Ninja TKL (Brown) | FC660C

Offline Daniel Beaver

  • Posts: 504
What is VIM?
« Reply #53 on: Sat, 08 October 2011, 09:22:02 »
Sublime Text is pretty good, though you can replicate almost all it's features in Notepad++.

Home: Topre Realforce 87W45  /  Mionix Naos 3200
Work: Topre Realforce 87B  /  Microsoft Intellimouse Explorer 3.0

Offline insilica

  • Posts: 259
  • Location: GCHQ
  • Keyboard Geeza
What is VIM?
« Reply #54 on: Sat, 08 October 2011, 09:37:52 »
Quote from: Daniel Beaver;427484
Sublime Text is pretty good, though you can replicate almost all it's features in Notepad++.

Except notepad++ is only really available on M$ platform. Sublime runs on M$, Mac and Linux (at least the beta does) - actually I'm liking it because there a geeza working on VIM functionality - trouble is I use urxvtd (lots of command work) and on gentoo for some reason copy/paste is a nightmare ... especially when multiplexing in Tmux
FreeBSD :: Gentoo :: Arch :: [Project Roswell] :: U2410 Eyefinity :: WC P280 :: 3930K [C2] (4.5GHz)
ASUS Maximus IV :: 64GB Vengeance :: MSI 7970 xFire ::  Seasonic 1KW :: M4 256GB

REALFORCE 87U Silent (Variable) | Filco Majestouch 2 Ninja TKL (Brown) | FC660C

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
What is VIM?
« Reply #55 on: Sun, 09 October 2011, 18:58:09 »
ir_black here.

Oh, and I can't use any text editor if it's not vim. It's just too weird. I have to use ViEmu if I ever find myself in Visual Studio (yuck).

Offline nar

  • Posts: 254
  • Location: Tokyo
What is VIM?
« Reply #56 on: Tue, 11 October 2011, 16:12:19 »
Quote from: Daniel Beaver;427323
I am also a zenburn fan. So much so that I use it in every application that I can customize color palettes for.

Same here, on my Linux VM I have the desktop colour scheme for KDE and Gnome (The Elegant Mine theme fits perfectly with zenburn colours) completely zenburned.
Keyboards: Topre HE0100 | REALFORCE 103UB & 104UB-DK | FILCO Majestouch 2 Ai Cherry MX Blue | CHERRY G84-4101SPAUS

Offline Xuan

  • Posts: 189
What is VIM?
« Reply #57 on: Thu, 13 October 2011, 11:11:37 »
Quote from: insilica;427495
Except notepad++ is only really available on M$ platform. Sublime runs on M$, Mac and Linux (at least the beta does) - actually I'm liking it because there a geeza working on VIM functionality - trouble is I use urxvtd (lots of command work) and on gentoo for some reason copy/paste is a nightmare ... especially when multiplexing in Tmux


Have you tried using xclip? It uses the X bin, so better interoperability with other programs.

I have this in mi vimrc
Code: [Select]

" Copy with C-w
vmap <C-w> y:call system(&quot;xclip -i -selection clipboard&quot;, getreg(&quot;\&quot;&quot;))<CR>:call system(&quot;xclip -i&quot;, getreg(&quot;\&quot;&quot;))<CR>

&quot; paste with  C-y
nmap <C-y> :call setreg(&quot;\&quot;&quot;,system(&quot;xclip -o -selection clipboard&quot;))<CR>p

&quot; to paste in insert mode
imap <C-y> <Esc><C-y>a
« Last Edit: Thu, 13 October 2011, 12:32:05 by Xuan »

Offline insilica

  • Posts: 259
  • Location: GCHQ
  • Keyboard Geeza
What is VIM?
« Reply #58 on: Thu, 13 October 2011, 12:19:07 »
Quote from: Xuan;430175
Have you tried using xclip? It used the X bin, so better interoperability with other programs.

I have this in mi vimrc
Code: [Select]

&quot; Copy with C-w
vmap <C-w> y:call system(&quot;xclip -i -selection clipboard&quot;, getreg(&quot;\&quot;&quot;))<CR>:call system(&quot;xclip -i&quot;, getreg(&quot;\&quot;&quot;))<CR>

&quot; paste with  C-y
nmap <C-y> :call setreg(&quot;\&quot;&quot;,system(&quot;xclip -o -selection clipboard&quot;))<CR>p

&quot; to paste in insert mode
imap <C-y> <Esc><C-y>a


oooo nice - ty sir :

Code: [Select]
rm sublime
FreeBSD :: Gentoo :: Arch :: [Project Roswell] :: U2410 Eyefinity :: WC P280 :: 3930K [C2] (4.5GHz)
ASUS Maximus IV :: 64GB Vengeance :: MSI 7970 xFire ::  Seasonic 1KW :: M4 256GB

REALFORCE 87U Silent (Variable) | Filco Majestouch 2 Ninja TKL (Brown) | FC660C

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
What is VIM?
« Reply #59 on: Sat, 15 October 2011, 03:41:21 »
I always get interested looking at other text editors... then I realize that Vim is free and open source, and more powerful than any editor I've tried. It ain't going anywhere. I build my own version of vim on all windows, mac, and linux (whenever I work in it). Don't mess with a good thing.

Offline flyball

  • Posts: 258
What is VIM?
« Reply #60 on: Sat, 15 October 2011, 05:22:23 »
Quote from: daerid;431580
I always get interested looking at other text editors... then I realize that Vim is free and open source, and more powerful than any editor I've tried. It ain't going anywhere. I build my own version of vim on all windows, mac, and linux (whenever I work in it). Don't mess with a good thing.

sounds like you havent tried emacs
[SIGPIC][/SIGPIC]

fossala

  •  Guest
What is VIM?
« Reply #61 on: Sat, 15 October 2011, 05:30:11 »
Emacs user here. I used to use vim but just found emacs more comfortable.

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
What is VIM?
« Reply #62 on: Tue, 18 October 2011, 02:15:30 »
Quote from: flyball;431596
sounds like you havent tried emacs

Yeah, I tried emacs. Didn't like it. Although I do acknowledge it's power, as well as it's importance in the development community. I just find that the modal editing of Vim works better for how I think.


PS: Just gave emacs another shot. WTH? It's a 140MB install? For a text editor? And I thought Vim's 20mb was excessive.
« Last Edit: Tue, 18 October 2011, 02:23:09 by daerid »

Offline flyball

  • Posts: 258
What is VIM?
« Reply #63 on: Tue, 18 October 2011, 09:51:57 »
Quote from: daerid;433415
PS: Just gave emacs another shot. WTH? It's a 140MB install? For a text editor? And I thought Vim's 20mb was excessive.
if you install it from a package it probably comes with full elisp sources, extra addons, possibly multiple graphics frontends, ect. if you are really hurting for space then you can compile it yourself
[SIGPIC][/SIGPIC]

Offline RC-1140

  • Posts: 86
What is VIM?
« Reply #64 on: Tue, 18 October 2011, 20:39:22 »
I just remembered this:”Emacs is a great operating system – it lacks a good editor, though.“ when reading these posts. But I have to admit, I never really tried emacs, I just like my vim too much. I like the modal setup and don't like using too many modifiers.
[SIGPIC][/SIGPIC] Unicomp 122-Key Terminal Emulator - IBM Model M 1394309 - IBM Model M 1394312 (Terminal) - Cherry G84-4100 - Cherry G80-1800 MX Black - Cherry G80-2551HAD (with a spare NIB)

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
What is VIM?
« Reply #65 on: Thu, 20 October 2011, 03:16:34 »
Quote from: flyball;433547
if you install it from a package it probably comes with full elisp sources, extra addons, possibly multiple graphics frontends, ect. if you are really hurting for space then you can compile it yourself

I installed it on Windows, so no idea if it came with the Lisp sources.

PS: As a programmer myself I also find Lisp abhorrent. I find that vimscript is much more palatable, when necessary, otherwise I extend vim with Python

Offline JBert

  • Posts: 764
What is VIM?
« Reply #66 on: Thu, 20 October 2011, 03:24:57 »
Quote from: j-dev;425930
...
For the other vim'ers: If you haven't tried it already, I highly recommend using screen and vim together (or tmux and vim) - the split screen capabilities are beastly.
I could see how this would help if your are continuously switching between the console and Vim.
If you want to edit multiple files it is nicer to use Vim's split windows, buffers and tabs to alternate between them.
IBM Model F XT + Soarer's USB Converter || Cherry G80-3000/Clears

The storage list:
IBM Model F AT || Cherry G80-3000/Blues || Compaq MX11800 (Cherry brown, bizarre layout) || IBM KB-8923 (model M-style RD) || G81-3010 Hxx || BTC 5100C || G81-3000 Sxx || Atari keyboard (?)


Currently ignored by: nobody?

Disclaimer: we don\'t help you save money on [strike]keyboards[/strike] hardware, rather we make you feel less bad about your expense.
[/SIZE]