2022-05-27 18:05:57 +00:00
|
|
|
require "paq" {
|
|
|
|
'ackyshake/vimcompletesme';
|
|
|
|
'ctrlpvim/ctrlp.vim';
|
|
|
|
'dense-analysis/ale';
|
|
|
|
'dracula/vim';
|
|
|
|
'easymotion/vim-easymotion';
|
|
|
|
'godlygeek/tabular';
|
|
|
|
'lervag/vimtex';
|
|
|
|
'lewis6991/gitsigns.nvim';
|
|
|
|
'lukas-reineke/indent-blankline.nvim';
|
|
|
|
'luukvbaal/nnn.nvim';
|
|
|
|
'RobertAudi/fish.vim';
|
|
|
|
'tpope/vim-commentary';
|
|
|
|
'tpope/vim-sensible';
|
2022-07-05 23:48:52 +00:00
|
|
|
'tpope/vim-sleuth';
|
2022-05-27 18:05:57 +00:00
|
|
|
'tpope/vim-surround';
|
|
|
|
'vim-airline/vim-airline';
|
|
|
|
}
|
|
|
|
require("nnn").setup()
|
|
|
|
require("gitsigns").setup()
|
|
|
|
|
|
|
|
vim.opt.background = "dark"
|
|
|
|
vim.opt.clipboard = "unnamedplus"
|
|
|
|
vim.opt.colorcolumn = "85"
|
|
|
|
vim.opt.mouse = "a"
|
|
|
|
vim.opt.shiftwidth = 4
|
|
|
|
vim.opt.textwidth = 0
|
|
|
|
vim.opt.wrapmargin = 0
|
|
|
|
|
|
|
|
vim.opt.cursorline = true
|
|
|
|
vim.opt.expandtab = true
|
|
|
|
vim.opt.ignorecase = true
|
|
|
|
vim.opt.linebreak = true
|
|
|
|
vim.opt.number = true
|
|
|
|
vim.opt.smartcase = true
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
vim.opt.wrap = false
|
|
|
|
|
|
|
|
vim.keymap.set('', '<F7>', 'mzgg=G`z')
|
|
|
|
vim.keymap.set('', 'r', '"_d')
|
|
|
|
|
|
|
|
vim.cmd [[
|
|
|
|
autocmd FileType * se tw=0
|
|
|
|
colorscheme dracula
|
|
|
|
command Q q!
|
|
|
|
filetype plugin indent on
|
|
|
|
syntax enable
|
2022-07-05 23:48:52 +00:00
|
|
|
PaqSync
|
2022-10-03 03:02:15 +00:00
|
|
|
|
|
|
|
autocmd BufReadPost,FileReadPost *.bz3 call gzip#read("bzip3 -d")
|
2023-02-27 04:48:17 +00:00
|
|
|
|
|
|
|
let g:ale_linters = {'cpp': ['cc', 'clang', 'cppcheck']}
|
|
|
|
let g:ale_fixers = {'cpp': ['clang-format']}
|
|
|
|
let g:ale_linters_ignore = {'cpp': ['clangcheck', 'clangtidy']}
|
|
|
|
let g:ale_cpp_cc_options = "-std=c++17 -Wall"
|
|
|
|
let g:ale_cpp_clangd_options = "-std=c++17 -Wall"
|
2022-05-27 18:05:57 +00:00
|
|
|
]]
|