- Sep 2024
-
davistypewriters.blogspot.com davistypewriters.blogspot.com
-
- Feb 2024
-
github.com github.com
-
open in editor
Tags
Annotators
URL
-
- Jan 2024
-
johngrib.github.io johngrib.github.io
-
INSERT MODE 자동완성 이야기
vim autocompletion
-
- Nov 2023
-
zhajiman.github.io zhajiman.github.ioVim 的语法1
-
operator + motion
对什么文本(名词 noun)做什么操作(动词 verb)
Tags
Annotators
URL
-
-
-
https://github.com/xylous/settle.vim
ᔥEmory L. (@emory@soc.kvet.ch) at Oct 10, 2023, 08:57 (accessed:: 2023-11-03 11:10:02)
i got totally derailed by learning about a rust package called
settel
that is essentially a #zettelkasten framework? #sqlite is involved as a datastore but tl;dr: here's a #repository forsettle.vim
which is a plugin that enables #settle in #neovim or #vim: https://github.com/xylous/settle.vimmore about settle: https://github.com/xylous/settle
i'll have to come back to this later, i overslept today! #readlater #futureEmory
-
- Aug 2023
-
www.google.com www.google.com
-
"in his youth he was full of vim and vigor"
vim<br /> 2023 definition: energy; enthusiasm
vim is rarely ever seen outside of the context of the phrase "vim and vigor" and seems to be a calcified word within this phrase.
vigor<br /> 2023 definition: physical strength and good health
-
- Jan 2023
-
matt.might.net matt.might.net
-
I used vim and make for my universal IDE.
vim and make serve well as universal IDE for most programming languages (maybe apart from C#?)
Tags
Annotators
URL
-
- Nov 2022
-
tomekw.com tomekw.com
Tags
Annotators
URL
-
- Sep 2022
-
github.com github.com
-
:w saves.
-
-
anagora.org anagora.org
-
- Aug 2022
-
www.myfreax.com www.myfreax.com
-
:wq
Tags
Annotators
URL
-
- Jul 2022
-
- May 2022
- Apr 2022
-
stackoverflow.com stackoverflow.com
-
Press CTRL-W " followed by the register.
-
- Jan 2022
-
-
https://pauljacobson.me/2022/01/11/learning-vim/
Thanks for this Paul. I've heard the learning curve is relatively steep as well. It certainly helps to have some clear and useful tutorials, so thanks for sharing the best of what you've found. Maybe I'll make the same jump you've done as it's always something I've wanted to tinker around with.
-
-
stackoverflow.com stackoverflow.com
-
file, gg=G.
To correct the indent of entire file in vim
-
- Dec 2021
-
realpython.com realpython.com
-
On OS X, you can access your system clipboard
How do you achieve this functionality under GNU/Linux operating systems?
-
- Nov 2021
-
vimtricks.com vimtricks.com
-
I’m a block-wise guy. Ctrl-v, j, Shift-i, #, esc. Not advocating that, but it’s muscle memory for me now.
This will and the
#
character to every line highlighted withj
ork
motion keys.
-
- Aug 2021
-
64k.space 64k.space
-
Second, that you see more and more laptops running things like i3 and dwm than back in 2010 -- and these tools haven't gotten any better in these ten years.
vim tools/plugins on the other hand have gotten supremely powerful & weird & awesome.
i actually really love this point. there's some semi-interesting things happening with Wayland desktops, some changes, but overall i think most Linux users have kind of subsisted in semi-stasis. and we don't need top down change, from our WMs, but we should be "growing-in" to our environments, getting better, and we i think the collaboration & exploration is still very sparse, few charts or maps or guides come out. the "here be dragons" edge has a lot of healthy exploration deep into it, but it's very lone territory, the charts rare & hard to understand, hard to follow. there's some radical elements of success & exploration, but there are so few enduring wayfinding systems, so little communalizing of exploration or growth.
-
- Jun 2021
-
stackoverflow.com stackoverflow.com
-
This is especially nice for opening Vim from other tools, as this call can be done on the command-line: "+call cursor($LINE,$COLUMN)"
-
- May 2021
-
danielmiessler.com danielmiessler.com
Tags
Annotators
URL
-
-
github.com github.com
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
:,$s/\vBEFORE/AFTER/gc
Search/replace from current line to end of file.
-
- Mar 2021
-
github.com github.com
-
Macvim is the only vim supported out of the box? What about the many of us who want to just use standard CLI vim?
-
-
github.com github.com
-
It does this by creating links to specially crafted URLs using custom schemes (ie. "txmt", "subl", "mvim"). I prefer to use standard CLI vim in iTerm.
I have similar problem: want to use regular vim in tilix terminal
-
-
askubuntu.com askubuntu.com
-
vim-athena doesn't depend on or use any version of GTK+. If you use sudo apt-get build-dep vim-athena, it probably will install GTK+ and GNOME related libraries, because the vim-athena binary package is built from the same source package as vim and other vim-providing packages. In any case, you shouldn't need to build from source, as the binaries provided by vim-athena are already built against Athena and not against GTK+ or other graphical toolkits.
-
Fortunately, vim officially supports some GUI's other than GTK+ and Qt, and one such build is officially packaged for Ubuntu. Just install the Athena version of vim, which is provided by the vim-athena package.
-
If you built vim against Qt rather than GTK+ and python-complete still isn't working, that suggests the problem isn't actually a consequence of trying to link to both GTK+2 and GTK+3.
-
How can I build vim with a gui without gtk?
I had this question too, but didn't know that was the question I had... :)
-
-
stackoverflow.com stackoverflow.com
-
and the --enable-gui=<gui> e.g. (--enable-gui=gnome for the Gnome Gui).
-
How to install VIM with all options/features? - VIM
-
If you want to compile youself you can pass the --with-features=huge to the configure script. Note, however, this does not enable the different language bindings because those are mostly optional and also the various GUIs need to enabled specifically, because you can have only one gui.
This explains why the standard vim package on ubuntu doesn't have GUI support (I was going to say because it wouldn't know which GUI you needed, but I think it would based on the Ubuntu variant: GNOME, KDE, etc.) (maybe because it wouldn't know whether you wanted GUI support at all)
I was going to say because it wouldn't know which GUI you needed, but I think it would based on the Ubuntu variant: GNOME, KDE, etc.
found answer to that: https://hyp.is/NyJRxIgqEeuNmWuaScborw/askubuntu.com/questions/345593/how-to-build-vim-with-gui-option-from-sources
so you have to install a different package with GUI support, like vim-gtk or vim-athena
-
-
askubuntu.com askubuntu.com
-
vim-athena
Importantly, to me, you can do this:
/usr/bin/vim.athena --servername local
-
Including the vim package, there appear to be at least six "vim-variants" (not including available documentation, or plugin packages) as well as the main vim package in both the main and universe repositories.
-
-
askubuntu.com askubuntu.com
-
If you call ./configure --enable-gui=auto, the build process will automatically build against whichever GUI libraries are available. A cursory glance suggests that gtk2 will be prioritised over gnome2.
-
-
piao-tech.blogspot.com piao-tech.blogspot.com
-
Some research led me to the --remote-tab switch that allows to open files as tabs in currently open Vim processes but it seemed to work only with the graphical interface (gvim) and not with the console (vim). But as I made some tests I found this can work with the vim in console mode
That's what I thought too (that it was only available with gvim, which I don't want to use).
But I get this error when I try it with regular vim:
$ vim --servername local VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31) Unknown option argument: "--servername"
-
When programming I like to have a single Vim editor open with all my files as tabs. Until now I was using the ":tabnew" command to open files in the current Vim window as I knew no other way.
-
All I needed to do was configure my bash so it will always start vim in server mode if it is not already and to always use the --remote-tab switch when opening files.
-
-
stackoverflow.com stackoverflow.com
-
I don't use remote editing much so vim-dirvish is powerful enough to manage my workflow (It's actually faster than netrw ~ the author claims 2x, I feel it's faster than that - it's really instantaneous ⚡) very useful on large codebase/repositories
-
I was searching for a solution to this problem too since I actually removed netrw from being loaded in vim completely and replace it with vim-dirvish. This plugin has around 500~ LOC, compared to netrw's (11,000+ LOC).
-
- Jan 2021
- Dec 2020
-
vi.stackexchange.com vi.stackexchange.com
-
github.com github.com
Tags
Annotators
URL
-
-
vim.fandom.com vim.fandom.com
-
Note that unlike most programs which maintain a linear undo history, Vim maintains an undo tree containing every edit made to a buffer.
Tags
Annotators
URL
-
- Oct 2020
-
scolaire.loupbrun.ca scolaire.loupbrun.ca
-
WP and Enter on an AT keyboard does not make the Word perfect, but this simple writing act starts the actual execution of Wordperfect
La condensation des commandes à quelques lettres permet théoriquement d’aller plus vite.
C’est ainsi que fonctionne d’ailleurs Vim, un éditeur de texte en ligne de commande encore très utilisé aujourd’hui.
w
: se déplacer d’un mot (Word)2w
: se déplacer de 2 mots:reg
: afficher le registre des copier-coller:wq
: commande pour sauvegarder (Write) et quitter (Quit)
-
- Sep 2020
-
github.com github.com
- Aug 2020
-
pragmaticpineapple.com pragmaticpineapple.com
-
It’s 2020, doesn’t everyone use VSCode already?
-
-
pragmaticpineapple.com pragmaticpineapple.com
- Jul 2020
-
subvisual.com subvisual.com
Tags
Annotators
URL
-
- Jun 2020
-
www.mpscholten.de www.mpscholten.de
-
with import <nixpkgs> {};
It is kind of an anti-pattern using the angle bracket notation and the linked post also makes a suggestion:
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz) {}; }: # ...
-
with import <nixpkgs> {};
It is kind of an anti-pattern using the angle bracket notation and the linked post also makes a suggestion:
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz) {}; }: # ...
-
with import <nixpkgs> {};
It is kind of an anti-pattern using the angle bracket notation and the linked post also makes a suggestion:
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz) {}; }: # ...
-
-
nixos.wiki nixos.wiki
-
Basic Install environment.systemPackages = with pkgs; [ vim ]; or environment.systemPackages = with pkgs; [ vim_configurable ];
What is the difference between the
vim
andvim_configurable
packages?I believe the source for the latter is here.
Tags
Annotators
URL
-
- May 2020
-
github.com github.com
-
github.com github.com
-
Subject–object–verb order. Learn more at Differences with Vi(m).
Tags
Annotators
URL
-
-
github.com github.com
-
- Apr 2020
-
vim.fandom.com vim.fandom.com
-
Samples for 'search and replace in vim'
Tags
Annotators
URL
-
- Mar 2020
-
thepugautomatic.com thepugautomatic.com
-
I wrote a plugin for Vim that lets you easily toggle a YML file between nested format: xx.yml1 2 3 4 en: baz: "baize" foo: bar: "baare" and a flat format: xx.yml1 2 en.baz: "baize" en.foo.bar: "baare" This is really useful, as the flat format is easier to search and edit.
-
- Feb 2020
-
github.com github.com
- Dec 2019
-
github.com github.com
Tags
Annotators
URL
-
-
-
Vim does not only offer unlimited undo levels, later releases support an undo tree. It eventually gives the editor VCS-like features.
Tags
Annotators
URL
-
- Nov 2019
-
github.com github.com
Tags
Annotators
URL
-
-
github.com github.com
-
-
100% VimL compatibility - we may not support all features of VimL plugins / configuration.
understandable... vim script is a mess, ugly, and non-standard
-
Onivim 2 is a reimagination of the Oni editor. Onivim 2 aims to bring the speed of Sublime, the language integration of VSCode, and the modal editing experience of Vim together, in a single package.
-
- Mar 2019
-
www.cnblogs.com www.cnblogs.com
-
创建vim session文件 :mks filename, 重写session :mks! filename, 载入session vim -S sessionFile
该命令可以将当前Vim打开的窗口以文件的方式进行保存,当下次打开时直接以保存时的状态打开
保存当前会话session: :mks filename
更新当前会话session: :mks! filename
载入会话session: vim -S sessionFile
-
- Dec 2017
-
unix.stackexchange.com unix.stackexchange.com
-
There are many color schemes which are usually distributed together with vim
-
- Sep 2017
-
vi.stackexchange.com vi.stackexchange.com
-
up vote 15 down vote This is one of the few reasons I like to use vim's mouse mode. If you use the GUI version, or your terminal supports sending drag events (such as xterm or rxvt-unicode) you can click on the split line and drag to resize the window exactly where you want, without a lot of guess work using the ctrl-w plus,minus,less,greater combinations. In terminal versions, you have to set mouse mode properly for this to work :set mouse=n (I use 'n', but 'a' also works) and you have to set the tty mouse type :set ttymouse=xterm2 A lot of people say that a lot of time is wasted using the mouse (mostly due to the time it takes to move your hand from the keyboard to the mouse and back), but I find that, in this case, the time saved by having immediate feedback while adjusting window sized and the quickness of re-resizing (keep movving the mouse instead of typing another key sequence) outweighs the delay of moingmy hand.
Simply amazing setup to get multiple screens vim
-
- Aug 2017
-
vim.wikia.com vim.wikia.com
-
gUiw Change current word to uppercase.
uppercase word
-
- Jan 2016
-
www.thegeekstuff.com www.thegeekstuff.com
-
This is all the stuff I need to develop as a muscle memory.
-
- Aug 2015
-
tooky.co.uk tooky.co.uk
-
I have had an annoying problem with git and vi. I like to use vim to edit my commit messages, but I’ve been hit with this annoying message every time I write the message and quit vim.
Thanks for this. I encountered the same issue with OS X 10.10.
Haven't investigated the issue fully yet but there is definitely a difference in the exit status behavior when launching vim as 'vi' vs. launching it as 'vim'
-
- Jun 2015
-
stackoverflow.com stackoverflow.com
-
Simply: require('child_process').spawn('vim', ['test.txt'], {stdio: 'inherit'}); If there is nothing left in the Node.js event loop when vim exits, then node will exit automatically as well. Or, if you need to guarantee node will exit when vim does: var vim = require('child_process').spawn('vim', ['test.txt'], {stdio: 'inherit'}); vim.on('exit', process.exit); As for closing the node application before vim exits, that's not really possible because vim inherits standard input/output/error streams from the spawning process (node) which are destroyed when node exits.
-
- May 2015
-
ideasintosoftware.com ideasintosoftware.com
-
Time Travelling Without Worries But here's the best part - knowing the true nature of history, we can combo it with another cool feature of Vim - persistent undo - to be able to travel in time there and back without fear of losing anything! In other words, if you do: mkdir -p ~/.vim/undodir and then add: set undofile set undodir=~/.vim/undodir to your ~/.vimrc, you get a file-backed infinite undo. And even if you undo like a madman and then edit something, you will not lose your way back to where you’ve been. Which is pretty much a developer’s (or anyone’s, really) text-editing nirvana. Enhance you calm and enjoy a bit saner coding.
-
-
ideasintosoftware.com ideasintosoftware.com
-
Save Work On Focus Lost This feature works best in combo with infinite undo. The idea here is that everytime you leave your Vim window, all your open files are automatically saved. I find this to be extremely helpful, for example when I’m working on a laptop and continuously run unit tests in terminal. My laptop is 13'' so I prefer to run Vim full screen and with this feature, I don’t have to explicitly save my source code file; I just cmd+tab to the terminal, Vim saves the file for me and my unit tests watcher re-runs the suite. If you save unwanted changes by accident you can easily remedy that with undo. To turn autosaving on, add: :au FocusLost * silent! wa to your .vimrc. The silent! flag prevents Vim from complaining when you have open unititled buffers (see this article for details).
-
- Mar 2015
-
www.bloomberg.com www.bloomberg.com
-
A Vim plugin for visually displaying indent levels in code
Great Vim plugin!
Tags
Annotators
URL
-
- Jan 2015
-
danielmiessler.com danielmiessler.com
-
A search reference /{string}: search for string t: jump up to a character f: jump onto a character *: search for other instances of the word under your cursor n: go to the next instance when you’ve searched for a string N: go to the previous instance when you’ve searched for a string ;: go to the next instance when you’ve jumped to a character ,: go to the previous instance when you’ve jumped to a character
A Search Reference
-