Configuration
A general synopsis of this section highlights some key aspects of SiVim's configuration.
Keybindings
The code snippet below showcases the keybindings used in SiVim.
" Leader
let mapleader = " "
" Telescope
nnoremap <leader>l :Telescope<Enter>
nnoremap <leader>f :lua require('telescope.builtin').find_files()<Enter>
" Nvim-Tree
nnoremap <leader>d :NvimTreeOpen<Enter>
nnoremap <leader>q :NvimTreeClose<Enter>
" Buffers
nnoremap <leader>a :BufferLineCycleNext<Enter>
nnoremap <leader>e :BufferLineCloseRight<Enter>
" Rebinds
nnoremap <leader>c :vsplit<Enter>
nnoremap <leader>x :split<Enter>
nnoremap <leader>r :term<Enter>
By default, the leader key is space, but this can be changed quite easily by replacing
the leader key's contents with a key of your choice.
File Structure
Below is the file structure, some of which is not included due to Vim-Plug generating it's own files upon installation.
├─ init.vim
├─ general
│ ├─ bindings.vim
│ ├─ dashboard.vim
│ ├─ funcs.vim
│ ├─ sets.vim
│ └─ tree.vim
└─ vim-plug
└─ plugins.vim