Skip to main content
8 votes
Accepted

How to play recorder macro in SpaceVim?

SpaceVim uses leaderqr instead of q because it remaps q to another function. As far as I can tell from the documentation, @ is not used for another function: so you play back macros in the usual way: ...
Rich's user avatar
  • 32.2k
5 votes
Accepted

Switch between splitted file with SPACE + NUMBER instead of CTRL-W (like in spacevim)

To see window numbers you have to setup statusline (:h statusline), for example: set statusline=[%{winnr()}] set statusline+=%([\%R%M]\ %) set statusline+=%<%f set statusline+=%(\ %y%) set ...
Maxim Kim's user avatar
  • 13.6k
4 votes
Accepted

Line number order is broken

In SpaceVim, we use g:spacevim_relativenumber to config relativenumber. if by default it is 1, if you want to disable this feature. just add let g:spacevim_relativenumber = 0 to your custom config. ...
Eric Wong's user avatar
  • 530
3 votes

VIM vs NEOVIM vs SpaceVIM

It's a bit of a contentious issue. In my opinion you might recieve more passionate responses that constructive ones (My answer should not be taken as 100% objective). For the difference between Vim ...
Fabrice Hategekimana's user avatar
3 votes

Why would you use `nnoremap gf gf` as SpaceVim does?

I am author of SpaceVim. The main feature of spacevim is key binding guide. This feature need to run :map <prefix> to paser all mappings, and generate guide context. In vim, too many default key ...
Eric Wong's user avatar
  • 530
3 votes
Accepted

How do I make Vim preserve column position when moving between lines?

As author of SpaceVim, I can not reproduce this issue in master branch. and we do not map j and k in spacevim. I think you should check result of :verbose map j or :verbose map k, this command will ...
Eric Wong's user avatar
  • 530
3 votes

Line number order is broken

Custom config didn't work for me. So I did this: $ find ~/.SpaceVim/ -type f | xargs grep spacevim_relativenumber And found the line in .SpaceVim//autoload/SpaceVim.vim: let g:...
Roman Pushkin's user avatar
3 votes
Accepted

spacevim remapping of plugin keybindings

Disclaimer: I'm the author of vimtex. You should not use both vimtex and vim-latex at the same time. They are filetype plugins that try to implement the same set of features, at least partially. For ...
Karl Yngve Lervåg's user avatar
2 votes
Accepted

How to use UltiSnips with SpaceVim?

Just remove let g:spacevim_custom_plugins=[ \ ['SirVer/ultisnips/', {'on_ft' : 'autocomplete'}], \ ] no need to use custom plugin, just change g:spacevim_snippet_engine is enough. If you still get ...
Eric Wong's user avatar
  • 530
2 votes

disable SpaceVim layers

In SpaceVim, all layers is a list in g:spacevim_plugin_groups. you can remove item in it. but it is not better way to remove layers. we will Update document about layer config. please check out the ...
Eric Wong's user avatar
  • 530
2 votes
Accepted

Why would you use `nnoremap gf gf` as SpaceVim does?

I think I can make a guess (but I have never seen this before either, and I haven't used SpaceVim yet) based on this issue: gq for reformatting doesn't work #787. nmap g [G] essentially blocks all the ...
muru's user avatar
  • 25k
2 votes

How do I keep the spacevim search results window open after opening a file?

SpaceVim provides new key binding for async searching. it is SPC s J, the result will be put into quickfix list.
Eric Wong's user avatar
  • 530
2 votes
Accepted

leader keys are just being disabled when changing it

The names of the global variables that need to be changed are actually g:mapleader and g:maplocalleader, so you're missing the map prefix there. Not sure why what you're seeing is “leader keys are ...
filbranden's user avatar
  • 29k
2 votes

What's the configuration used to make vim remember modifications after closing the file?

Not a direct question to "how can I disable this feature", but my little undofile_warn.vim plugin will show a warning before undoing changing from previous Vim instances, which should also ...
Martin Tournoij's user avatar
2 votes
Accepted

What's the configuration used to make vim remember modifications after closing the file?

The setting to use to preserve the undo is: set undofile To disable undo file: set noundofile
Vivian De Smedt's user avatar
1 vote

Make fill column indicator visible by default in SpaceVim

I found a solution: I added the following line to my bootstrap_before function call <SNR>32_toggle_colorcolumn() This comes with the caveat that the function name is likely subject to change. ...
80KiloMett's user avatar
1 vote
Accepted

How can you create a vim mapping with a description

What @BLayer said in the comments is correct; I thought SpaceVim used a plugin for this, but now I believe they have custom code. You can write your own code to do it (which is what you need to do in ...
D. Ben Knoble's user avatar
  • 26.6k
1 vote

How to disable line-too-long warning in SpaceVim

In SpaceVim, the default layer contains checkers layer which is using neomake, you can read :h neomake to config your pylint maker. in neomake the default pylint confg is: function! neomake#makers#...
Eric Wong's user avatar
  • 530
1 vote

Vim (Spacevim); :!git push == permission denied (publickey)

The problem is not with your vim. What is the responsibility of your vim, is to execute the command after the !. It does it correctly. The error message is from the git. However, it is still not the ...
peterh's user avatar
  • 1,161
1 vote

How to find all .kl files in current directory with Flygrep (spacevim)

A "standard vim" answer: :args `find . -iname '*.kl'` Substitute the find command for any command that can generate the list of files. Then you can use :next and :prev for navigating (bound ...
D. Ben Knoble's user avatar
  • 26.6k
1 vote

Get neomake to recognize python and gcc location

SpaceVim uses neomake by default: to make neomake support this feature, you can create a .clang file in the root of your project. Please read the lang#c layer doc.
Eric Wong's user avatar
  • 530
1 vote

How to get tpope/vim-rails gf command to work with SpaceVim

I have exactly the same problem. It seems that SpaceVim overrides the gf command in some way so that rails-vim plugin's gf doesn't check for _ on partial names anymore. Also, you have to be on the ...
Tim's user avatar
  • 11
1 vote

How do I make Vim preserve column position when moving between lines?

I am learning light vimscripting, so I am not sure if this will work. But put these in your .vimrc: function! NextLine() let c = col(".") execute "normal! j" . c . "|" endfunction function! ...
3N4N's user avatar
  • 5,764
1 vote
Accepted

Why some information can't been shown at status bar with iTerm2?

SpaceVim uses a built-in modular status line, which depends on a power line patched font. These fonts include extra symbols that render as arrows in the terminal. You can find pre-patched fonts here: ...
Devin Lehmacher's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible