This is most probably not a text file, so no text editor can display it correctly.
You need a viewer program for its file-type. If the file-name contains a suffix,
search for the meaning of that suffix and may find what the file-type is.
Looking at the tmux man page, it seems that if your EDITOR or VISUAL environment variable has the string "vi" in it anywhere, it may set your tmux to use vi key bindings.
You probably need to be in "copy mode" for the scrolling to work. That's what the Ctrl-b then [ does for emacs bindings. Try entering copy mode (maybe "[" for ...
This works on my AntiX 4.9 using keyboard (not numpad) keys.
It is the zoom feature of Vim 8.1 and it provides me more view of text in vertical split screen mode.
[Ctrl][-] decrease font size
[Ctrl][Shift][+] increase font size
[Ctrl] restore font size
Some additional info, because I am using a Debianized, small version of vim.
You can ...
Most answers here ignore that match is WINDOW LOCAL ONLY! Highly commented code below to explain how to add match for a certain filetypes only.
The question asked is "In Vim how I can set a local match only for a specific filetype?" Below answers that, but for the case of trailing whitespace instead of colour column.
" Create a highlight group ...
This workaround seems help
In top menu -> Help -> Edit Custom VM Options...
add this 2 lines at bottom
then restart IDE
P/S: My environment: Ubuntu 20.04, PhpStorm 2019.1
The issue stems from how vim writes files in two stages by default. When inotify (which entr is based on) sees these events they're interpreted as two saves.
On my machine, this fixes the issue:
You can add that to your .vimrc to make it permanent.
I learnt this neat automation from coderwall, write the following into your .vimrc file
let &t_SI .= "\<Esc>[?2004h"
let &t_EI .= "\<Esc>[?2004l"
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()
Solution for GNU Screen 4.5.0 and newer
GNU Screen 4.5.0 and newer does have an option to stop terminal content from changing window titles, see this bug ticket (via, formatting mine):
Since v.4.5.0 there is
for global setting and
for per window settings.
Partial Solution for older GNU Screen versions
As I ...
As far as I'm aware, there is no option other than :execute
" same as
let greeting = "hello"
execute "echo '" . greeting . "'"
However, as you've noticed, if the variable contains certain bad characters, that causes an issue:
let greeting = "hel'lo"
execute "echo '" . greeting . ...
You could use xclip or win32yank.exe. For some reason sometimes in WSL1 my clip.exe and win32yank.exe seem to have some runtime error so I am using mainly local xclip with an xserver running.
Modified from a few other examples including a neovim clipboard .vim
You could just use top section to add ctrl-c ctrl-x (no ctrl-v yet!) without affecting how vim ...
Here's my solution for installing plugins with vundle quietly in the background and then printing a message upon completion in the same shell:
Make sure the vundle repo is downloaded:
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
Set up a .vimrc file to work with vundle.
Run this command in your bash shell. It will ...