add lsp and change vim theme to catpppuccin-mocha
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
source ~/.vimrc
|
||||
|
||||
let mapleader=";"
|
||||
colorscheme vim
|
||||
|
||||
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
||||
\| PlugInstall --sync
|
||||
@ -12,8 +11,27 @@ Plug 'bling/vim-bufferline'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
Plug 'andweeb/presence.nvim'
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'bluz71/vim-nightfly-colors'
|
||||
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
|
||||
call plug#end()
|
||||
|
||||
colorscheme catppuccin-mocha
|
||||
|
||||
lua require'lspconfig'.clangd.setup{}
|
||||
set signcolumn=no
|
||||
|
||||
nmap <leader>rn <Plug>(coc-rename)
|
||||
nmap <leader>ac <Plug>(coc-codeaction-cursor)
|
||||
nmap <leader>as <Plug>(coc-codeaction-source)
|
||||
nmap <leader>qf <Plug>(coc-fix-current)
|
||||
|
||||
nmap <silent> gd <Plug>(coc-definition)
|
||||
nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
|
||||
let g:user42 = 'tomoron'
|
||||
let g:mail42 = 'tomoron@student.42angouleme.fr'
|
||||
|
||||
|
3
home.nix
3
home.nix
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||
# Updated: 2025/01/30 14:05:36 by tomoron ### ########.fr #
|
||||
# Updated: 2025/02/04 15:57:16 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -74,6 +74,7 @@
|
||||
python3
|
||||
vlc
|
||||
nerd-fonts.iosevka
|
||||
moonlight-qt
|
||||
|
||||
grim
|
||||
slurp
|
||||
|
@ -1,6 +1,11 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
home.packages = with pkgs;[
|
||||
clang-tools
|
||||
nodejs_23
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/nvim/init.vim".source = ../dotfiles/config/nvim/init.vim;
|
||||
".vimrc".source = ../dotfiles/vimrc;
|
||||
|
Reference in New Issue
Block a user