guest@dotshare [~/groups/vim/rc] $ ls vimrc/ | cat

vimrc (scrot, raw, dl)

Maran Aug 31, 2024 (vim/rc)

SCROT

 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
" Basic Settings
set number                       " Show line numbers
set relativenumber               " Show relative line numbers
set cursorline                   " Highlight the current line
set expandtab                    " Use spaces instead of tabs
set tabstop=4                    " Number of spaces tabs count for
set shiftwidth=4                 " Number of spaces for indentation
set autoindent                   " Copy indent from the previous line
set smartindent                  " Auto-indent new lines
set background=dark              " Set background to dark
set termguicolors                " Enable true color support
syntax on                        " Enable syntax highlighting
filetype plugin indent on        " Enable filetype detection and plugins

" Specify a directory for plugins
call plug#begin('~/.local/share/nvim/plugged')

" Dracula theme
Plug 'dracula/vim', { 'as': 'dracula' }

" Airline status bar
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

" File explorer
Plug 'preservim/nerdtree'

" Syntax highlighting and colors
Plug 'sheerun/vim-polyglot'
Plug 'ryanoasis/vim-devicons'

" Fuzzy finder for quick file navigation
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

" Git integration
Plug 'tpope/vim-fugitive'

" Auto-completion framework
Plug 'neoclide/coc.nvim', {'branch': 'release'}

" Auto-pairs for inserting matching brackets/quotes
Plug 'jiangmiao/auto-pairs'

" End the plugin section
call plug#end()

hi Normal guibg=NONE ctermbg=NONE

let g:airline_powerline_fonts = 1

" Use <Tab> and <Shift-Tab> to navigate through popup menu
inoremap <silent><expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <silent><expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"

CLICK TO VIEW

x