Add modules for terminal and theme

This commit is contained in:
2021-10-17 15:54:19 +03:00
parent 0bcb2f3ec8
commit e8e79ba40b
3 changed files with 11 additions and 8 deletions

View File

@@ -1,18 +1,12 @@
source $HOME/dotfiles/nvim/plugins.vim source $HOME/dotfiles/nvim/plugins.vim
source $HOME/dotfiles/nvim/general.vim source $HOME/dotfiles/nvim/general.vim
source $HOME/dotfiles/nvim/remaps.vim source $HOME/dotfiles/nvim/remaps.vim
source $HOME/dotfiles/nvim/theme.vim
source $HOME/dotfiles/nvim/terminal.vim
source $HOME/dotfiles/nvim/file-tree.vim source $HOME/dotfiles/nvim/file-tree.vim
source $HOME/dotfiles/nvim/coc.vim source $HOME/dotfiles/nvim/coc.vim
source $HOME/dotfiles/nvim/tabs.vim source $HOME/dotfiles/nvim/tabs.vim
" Colorscheme
let ayucolor = 'mirage'
colorscheme ayu
" Airline
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'ayu_mirage'
" Filetypes for markdown extension " Filetypes for markdown extension
let g:mkdp_filetypes = ['md', 'mdx', 'markdown'] let g:mkdp_filetypes = ['md', 'mdx', 'markdown']

2
nvim/terminal.vim Normal file
View File

@@ -0,0 +1,2 @@
" Use Escape to go to normal mode
tnoremap <Esc> <C-\><C-n>

7
nvim/theme.vim Normal file
View File

@@ -0,0 +1,7 @@
" Colorscheme
let ayucolor = 'mirage'
colorscheme ayu
" Airline
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'ayu_mirage'