aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.vim
blob: 9dfcdc0143da026363fdc990fc811f52f0a0696e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
call plug#begin('~/.local/share/nvim/plugged') 
Plug 'itchyny/lightline.vim'
Plug 'Yggdroot/indentLine'
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
Plug 'nvim-lualine/lualine.nvim'
Plug 'nvim-tree/nvim-web-devicons'
call plug#end()

" line numbers
set number
set nu

" disable word wrapping
set nowrap

colorscheme catppuccin
set termguicolors
syntax enable
highlight Normal ctermbg=NONE guibg=NONE
highlight NormalNC ctermbg=NONE guibg=NONE

lua << END
require('lualine').setup {
    options = {
      theme = "catppuccin-mocha",
    }
}
END

" for tab stop
filetype plugin indent on
" On pressing tab, insert 2 spaces
set expandtab
" show existing tab with 2 spaces width
set tabstop=2
set softtabstop=2
" when indenting with '>', use 2 spaces width
set shiftwidth=2