Tag: editor

47 votes
10 answers
1.4K views
Using Vim's tabs like buffers

I have looked at the ability to use tabs in Vim (with :tabe, :tabnew, etc.) as a replacement for my current pr

avatar
Louetta
0 1 0 9
asked 07 September, 2021
56 votes
11 answers
1.2K views
Select all occurrences of selected word in VSCode

Are there any trick or extension to select all instances of selected word in visual studio code, to facilitate

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
61 votes
7 answers
706 views
Set language for syntax highlighting in Visual Studio Code

Before the confusion begins, this question is about Code, the new lightweight Visual Studio Editor. You can ge

avatar
Serina
0 1 0 9
asked 07 September, 2021
59 votes
6 answers
2.1K views
How do I force Sublime Text to indent two spaces per tab?

Is there a way to force Sublime Text 2 to always indent two spaces per tab when working with Ruby files? I kn

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
54 votes
6 answers
2.4K views
How do I turn off the unlimited whitespace in IntelliJ editor?

How do I remove the ability to move the cursor after then end of line in IntelliJ?

avatar
Louetta
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.4K views
How can I set up an editor to work with Git on Windows?

I'm trying out Git on Windows. I got to the point of trying "git commit" and I got this error: Termin

avatar
Karolyn
0 1 0 9
asked 07 September, 2021
48 votes
15 answers
3K views
Open two instances of a file in a single Visual Studio session

I have a file, xyz.cpp. I want to open two instances of this file in Visual studio (BTW, I am using Visual St

avatar
Alba
0 1 0 9
asked 07 September, 2021
42 votes
26 answers
1.7K views
Copy all the lines to clipboard

Is there any way to copy all lines from open file to clipboard in VI editor. I tried yG but it's not usin

avatar
Jeff
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
3.1K views
Differences between Emacs and Vim

Without getting into a religious argument about why one is better than the other, what are the practical diffe

avatar
Corrin
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
3K views
How to make vim paste from (and copy to) system's clipboard?

Unlike other editors, vim stores copied text in its own clipboard. So, it's very hard for me to copy some

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
743 views
How do I duplicate a line or selection within Visual Studio Code?

Using Microsoft's Visual Studio Code, how do I duplicate a line of code and then move it up and down? (Si

avatar
Charis
0 1 0 9
asked 07 September, 2021
65 votes
15 answers
547 views
How do I move to end of line in Vim?

I know how to generally move around in command mode, specifically, jumping to lines, etc. But what is the comm

avatar
Trudy
0 1 0 9
asked 07 September, 2021
51 votes
24 answers
828 views
Turning off auto indent when pasting text into vim

I am making the effort to learn Vim. When I paste code into my document from the clipboard, I get extra space

avatar
Mikki
0 1 0 9
asked 07 September, 2021
62 votes
21 answers
2.3K views
How to duplicate a whole line in Vim?

How do I duplicate a whole line in Vim in a similar way to Ctrl+D in IntelliJ IDEA/ Resharper or Ctrl+Alt+↑/

avatar
Thurman
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
408 views
Indent multiple lines quickly in vi

It should be trivial, and it might even be in the help, but I can't figure out how to navigate it. How do

avatar
Wei
0 1 0 9
asked 07 September, 2021
56 votes
18 answers
1.3K views
How do I edit a file after I shell to a Docker container?

I successfully shelled to a Docker container using: docker exec -i -t 69f1711a205e bash Now I need to edit

avatar
Corey
0 1 0 9
asked 07 September, 2021
57 votes
27 answers
1.5K views
Convert DOS line endings to Linux line endings in Vim

If I open files I created in Windows, the lines all end with ^M. How do I delete these characters all at once?

avatar
Daniel
0 1 0 9
asked 07 September, 2021
58 votes
29 answers
3.1K views
How do I make Git use the editor of my choice for commits?

I would prefer to write my commit messages in Vim, but it is opening them in Emacs. How do I configure Git to

avatar
Hallie
0 1 0 9
asked 07 September, 2021