vim installation

Install and Use amix vimrc in Vim

I installed amix vimrc in vim, so I'll introduce the installation method, how to use it, and basic operations. A .vimrc with various vimrc plugins combined into a nice editor is distributed, so I'll try using it. Install the Awesome version of amix vimrc. <pre><code>git clone --depth=1 https://github.com/amix/vimrc.git...

Shou Arisaka
4 min read
Nov 21, 2025

I installed amix vimrc in vim, so I’ll introduce the installation method, how to use it, and basic operations.

I was using nano and such in an environment where rmate couldn’t be used, but I was stressed because I couldn’t copy-paste or search (it was difficult), so I thought I’d reluctantly introduce vim.

I’ve touched vim once before, and I could touch vi to some extent, so it’s like a bit of a review.

I wanted to make it Atom-like

I’m an Atom user, so I thought it would be nice if I could make it Atom-like, and when I researched, I found something that looked really good.

I build stuff: How to to make Vim to look like Atom

I get an error saying Not an editor command: Plug, so I’ll install Plug, the package management tool.

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

…I couldn’t do it.

I get errors.

Hmm, I don’t know.

Let’s try using amix vimrc

A .vimrc with various vimrc plugins combined into a nice editor is distributed, so I’ll try using it.

amix/vimrc: The ultimate Vim configuration: vimrc

Install the Awesome version of amix vimrc.

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

What’s great about amix vimrc:

  • Standard ctrl+c/ctrl+v copy-paste works
  • HOME/END keys work. ctrl+END[HOME] also works, which is convenient
  • Some languages like Python, Javascript, sh are colored by default
  • It becomes editor-like
## I tried basic operations
  • Modes
i Enter text input mode ESC Return to normal mode Ctrl-[ Return to normal mode
  • String search
/ Continue typing characters, press Enter to confirm the string, and search backward n Move to the next word N Move to the previous word
  • Undo/Redo ctrl+z/ctrl+y
u undo - return to the previous state by one action. Ctrl + r redo. Undo the operation that was undone.
  • Replace
- `:%s/before/after/g` Replace all "before" with "after" in the file - `:s/before/after/g` Replace all "before" with "after" in the cursor line - `:10,20s/before/after/g` Replace all "before" with "after" in lines 10-20 - `:'<,'>s/before/after/g` Replace all "before" with "after" in the range selected in visual mode

The replacement character for () is \1. e.g. :%s/(“text”)/h(\1)/ => h(“text”)

vim置換 - Qiita

  • Execute command
:! Execute shell command e.g. :!pwd :r! Execute command and insert the result e.g. :r!pwd :shell Call shell. If you exit the shell with exit, etc., you return to vi
  • Save / ctrl+s
:w Overwrite save :w Save edited data to :q Quit :wq Save and quit :q! Quit without saving
  • Force quit
ctrl+z: Exit (quit) ctrl+z in normal mode: Exit

:h Display help

Impressions

Atom still feels more convenient for now.

First of all, it’s not good that you have to go to command mode for most operations. With the vimrc I found this time, I was quite saved because I could use mouse cursor operations and shortcut keys for copy-paste…

When you’re used to shortcuts like ctrl+ / ctrl+shift+ /, having to do ctrl+[ before that is…

I think it’s good that you can do various things… but it’s better if simple operations can be done with one key…

Project management can apparently be done, but it looks troublesome… In the first place, it takes several days/weeks just to set up such things… which is tough.

Well, this time it was an urgent measure for VirtualBox where rmate can’t be used, so it’s fine as long as I can implement about the same functionality as notepad.

Things I want to implement

I listed things I think are lacking in the current vim environment.

    <li>Can't input multiple lines </li>
    {/* <li>Select same string: In Atom, if you press ctrl+d in string selection state, it selects the same string. I want this kind of function... but it probably doesn't exist. Even if it exists, it would probably take about 1 year to find it. This would be quite convenient...</li> */}
    <li>Select same string: In Atom, if you press ctrl+d in string selection state, it selects the same string. I want this kind of function...</li>
    
    <li>Project management File search + open: In Atom you can do it with ctrl+t. I think you can probably do it if you research... I want it to be possible.</li>
I'm so dependent on Atom that I wish they would just transfer Atom to vim as is... but the vimrc I mentioned earlier couldn't be used... so maybe it's best to wait for time to solve it.

Share this article

Shou Arisaka Nov 21, 2025

🔗 Copy Links