Questions tagged [linux]

For questions specific to the Linux operating system.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

unable to compile vim with perl support on linux

For some reason my Vim won't compile with perl support. Here are my configure options: ./configure \ --with-features=huge \ --enable-multibyte \ --enable-rubyinterp=yes \ --enable-...
7
votes
1answer
2k views

Run bash command on writing a file with a particular extension?

I want to run a bash command on writing a .less file, saving it and generating the corresponding .css file with the same name and in the same directory. I do have the bash command which generates the ....
4
votes
0answers
378 views

How to remap <C-[> on linux [duplicate]

I have the same vimrc file for both Windows and Ubuntu environments. It works fine on both platforms, except for one difference. The line: nmap <C-[> <C-t> is working fine on Windows, ...
5
votes
2answers
3k views

How can I check if Vim is 32 bit or 64 bit? (On Linux!)

How can I find out if the vim I'm using is 32 or 64 bit? I'm using Ubuntu so this doesn't apply to me, I think. Also I checked :version and got this output: VIM - Vi IMproved 7.3 (2010 Aug 15, ...
14
votes
3answers
12k views

How do I tell if Vi or Vim is installed on my Linux distribution?

I use Kubuntu 14.04 with its default installation (bash, Konsole). I want to learn a powerful, all-keyboard, text editor, and settled on one of these: Vi, Vim, Emacs, (and I'll learn Nano since it's ...
17
votes
1answer
21k views

How do I use the system clipboard with Vim in Arch Linux? [duplicate]

I am using Vim on Arch Linux through urxvt. Since there is no "Ctrl-V" or "Ctrl-Shift-V" support in urxvt, there is no way for me to paste things I have copied from my browser (let's say) into my vim ...
1
vote
1answer
4k views

How to split window directly from command line? [duplicate]

I'm using Ubuntu system. I have files: A.txt, B.txt, C.txt I can split window in the following way: vim A.txt :vs B.txt // after entering into vim :vs C.txt Is there any way to achieve the same ...
2
votes
3answers
1k views

Run an external script from within Vim to compile (not C++)

I'm using Processing. I've created a Python script that enables me to compile a sketch from the directory that the processing file is in. I'm currently running as follows :!./make.py This works, ...
7
votes
1answer
11k views

How to build vim from sources with GUI support?

I am trying to build vim from source, especially gvim, to get some of the bug fixes that have been plaguing me in the office repository. I can compile vim fine but gvim is not being generated due to ...
6
votes
3answers
978 views

How can I print from vim using the native KDE print dialogue?

I'm using vim from a terminal emulator, and I'd like to be able to print using KDE's native print dialogue. This would let me select options such as printer, collating, number of copies and pages per ...
19
votes
1answer
6k views

How do I get +clipboard support in Fedora 20?

It seems to me that neither "+p nor "*p works for me. How can I know if my Vim is installed and set up properly to make them available? And if it's not set up, what can I do to set it up? I'm running ...
29
votes
2answers
13k views

How do I get Vim to be able to run both python and python3 on a Linux system in the same session?

On Linux systems, packaged Vim typically has only one of either python or python3 enabled. It is possible for both to be enabled (using python/dyn and python3/dyn), but during a session, only one can ...
13
votes
2answers
438 views

Raise window holding swap file

From time to time while working on multiple projects, and / or what ever, it leaves me with (too) many Vim instances open – as happens, I open a file which already is opened elsewhere, leaving me with ...
17
votes
2answers
6k views

Prevent Vim from clearing the terminal after exit

If I do: $ less file And press q to exit less, I stil see the same text as I had on the screen when less was still running. However, if I do $ vim file And :q, my terminal is blanked... ...

1 2
3