TransWikia.com
  1. All Categories
  2. Vi and Vim

Vi and Vim : Recent Questions and Answers (Page 4)

Find answers to your questions about Vi and Vim or help others by answering their Vi and Vim questions.

PATH order different in vim terminal window

I have anaconda set up with a few different environments. When I switch environments and open vim 8.2 and type :term to launch a terminal window and type echo...

Asked on 08/31/2021 by froxset

1 answer

What does three commented curly brackets ("{{{) at the end of a line mean? Is it just a comment?

In the tcomment plugin, specifically in:~/.vim/pack/tml/start/tcomment.vim/autoload/tcomment.vim and~/.vim/pack/tml/start/tcomment.vim/plugin/tcomment.vimI'm seeing this at the end of some lines:"{{{2or"{{{3For example:let g:tcomment#blank_lines = 2 ...

Asked on 08/31/2021 by Elliptical view

2 answer

Shell syntax highlighting

I've noticed in bash/shell it highlights $(...) in red, for example: However, if I change the syntax from ft=sh to...

Asked on 08/31/2021

2 answer

v$ without trailing space?

I want to use $ in visual mode but it always includes a trailing space (even if there isn't one on the line). How do I make it so $...

Asked on 08/31/2021 by Tallboy

1 answer

How to run external commands in vim from windows OS?

I learn vim in the Debian distro. In debian I can run commands like 'ls', 'cd', 'curl' etc directly from vim via power of '!' this sign. But now I...

Asked on 08/31/2021 by Bapi

2 answer

Modify the path of a file be opened

I am trying to write a function that runs before a new file is created, or an existing file is opened. What I would like to do is edit the...

Asked on 08/31/2021 by run_the_race

0 answer

Use pipe symbol as separator in statusline

I wanted to make my own status line and I wonder how can I use a pipe as a separator? I want to achieve something like this: NORMAL | file.html...

Asked on 08/31/2021 by user419050

1 answer

Visually select consecutive lines with the same starting string

This is mainly for working on multiple files in vifm (log1.txt, log2.txt, etc.) so lines can be assumed to be sorted, though this should work in normal...

Asked on 08/31/2021

3 answer

Undo macro instances

Often I would record a macro and run it till end of file like 200@q. However, there may be a few lines/instances at the bottom I don't want to run...

Asked on 08/31/2021

1 answer

Conflict between system compose key and insert mode meta key mappings

I use the right alt key as a compose key on my system, to easily draw diacritics and accent characters. In Vim, I unlock alt key mappings with this (from...

Asked on 08/31/2021

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP