<commit_before>" Vim UI settings
set laststatus=2
set nu
set mouse=a
set hlsearch
set ignorecase
set smartcase
set incsearch
set showmatch
set switchbuf=usetab,newtab

" Coding style
set expandtab
set shiftwidth=4
set tabstop=4
set autoindent

" Syntax highlighting stuff
set termguicolors
syntax on
colorscheme monokai

" Keybindings
:nnoremap <CR> :nohlsearch<CR>/<BS><CR>
inoremap <S-tab> <C-d>
inoremap <C-c> <ESC>
map <C-PageUp> :bprev<CR>
map <C-PageDown> :bnext<CR>

" Commands
:command WQ wq
:command Wq wq
:command W w
:command Q q

:command Untrail %s/\s\+$/g

" Plugins
call plug#begin('~/.local/share/nvim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'edkolev/promptline.vim'
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': './install.sh'}
call plug#end()

" Plugin settings
let g:airline_powerline_fonts = 1
let g:airline_theme = "powerlineish"
let g:airline#extensions#tabline#enabled = 1

let g:promptline_theme = 'airline'
let g:promptline_preset = {
    \'a' : [ '$(hostname)' ],
    \'b' : [ promptline#slices#user() ],
    \'c' : [ promptline#slices#cwd(), promptline#slices#vcs_branch() ]}

" COC
" Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB>
      \ pumvisible() ? "\<C-n>" :
      \ <SID>check_back_space() ? "\<TAB>" :
      \ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"<commit_msg>Use release branch of coc in neovim<commit_after>" Vim UI settings
set laststatus=2
set nu
set mouse=a
set hlsearch
set ignorecase
set smartcase
set incsearch
set showmatch
set switchbuf=usetab,newtab

" Coding style
set expandtab
set shiftwidth=4
set tabstop=4
set autoindent

" Syntax highlighting stuff
set termguicolors
syntax on
colorscheme monokai

" Keybindings
:nnoremap <CR> :nohlsearch<CR>/<BS><CR>
inoremap <S-tab> <C-d>
inoremap <C-c> <ESC>
map <C-PageUp> :bprev<CR>
map <C-PageDown> :bnext<CR>

" Commands
:command WQ wq
:command Wq wq
:command W w
:command Q q

:command Untrail %s/\s\+$/g

" Plugins
call plug#begin('~/.local/share/nvim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'edkolev/promptline.vim'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

" Plugin settings
let g:airline_powerline_fonts = 1
let g:airline_theme = "powerlineish"
let g:airline#extensions#tabline#enabled = 1

let g:promptline_theme = 'airline'
let g:promptline_preset = {
    \'a' : [ '$(hostname)' ],
    \'b' : [ promptline#slices#user() ],
    \'c' : [ promptline#slices#cwd(), promptline#slices#vcs_branch() ]}

" COC
" Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB>
      \ pumvisible() ? "\<C-n>" :
      \ <SID>check_back_space() ? "\<TAB>" :
      \ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
{'fraction_non_alphanumeric': 0.15160542866600463, 'fraction_numerical': 0.0033101621979476996, 'mean_word_length': 4.617100371747212, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6221688', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1163, 'n_words': 306}