Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 21476

The representation of a file loaded into memory. Edits are performed on buffers.

2 votes
1 answer
113 views

How can I set Vim to switch to a buffer after I add it?

TLDR: Can I make Vim automatically switch to the buffer that I just opened? Please tell me if I'm using Vim wrong in this case or something. I'm currently working with foo.txt. I want to look at …
aswine's user avatar
  • 244
12 votes
2 answers
3k views

Can I use syntax highlighting on an unwritten buffer?

I pasted some code into a new, unwritten buffer in Vim. I'd like to do some quick edits on the code without saving it to a file, but it hurts my eyes to look at code without syntax highlighting. Can …
aswine's user avatar
  • 244