Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 352dc7522d | |||
| c8717a1845 | |||
| 7b33419d82 | |||
| 9741a235e7 | |||
| 128902f644 | |||
| bb5df4d69c |
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 kankys
|
||||
Copyright (c) 2025 Kankys - Lukáš Kaňka
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# ApolloNvim2025
|
||||
|
||||
Programování je mnohem zábavnější, když jste efektivní. Neovim vás tam může časem dostat, ale musíte být ochotni zkoušet nové věci. Nové pluginy, nové remapy atd.
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": ["php"],
|
||||
"php.suggest.basic": true,
|
||||
"php.validate.enable": true,
|
||||
"php.format.enable": true
|
||||
}
|
||||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": ["javascript", "javascriptreact", "typescript", "typescriptreact", "css", "scss", "less", "html", "json", "markdown", "graphql", "yaml"],
|
||||
"prettier.enable": true,
|
||||
"prettier.configPath": "",
|
||||
"prettier.requireConfig": false,
|
||||
"prettier.singleQuote": true,
|
||||
"prettier.semi": true,
|
||||
"prettier.tabWidth": 2,
|
||||
"prettier.useTabs": false,
|
||||
"prettier.printWidth": 80,
|
||||
"prettier.bracketSpacing": true,
|
||||
"prettier.arrowParens": "avoid",
|
||||
"prettier.endOfLine": "lf"
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
set number " zobrazí čísla řádků
|
||||
set wrap " zalomí kód na řádku
|
||||
set cursorline " zvýraznění řádku s kurzorem
|
||||
set noshowmode
|
||||
set title " zobrazí název a cestu souboru
|
||||
set clipboard=unnamedplus " povolí kopírování a vkládání mimo Neovim
|
||||
set signcolumn=yes " zajistí number a gitgutter vedle sebe
|
||||
|
||||
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
|
||||
|
||||
" Přidání klávesové zkratky pro potvrzení nápovědy kódu
|
||||
imap <silent><expr> <TAB> coc#pum#visible() ? coc#pum#confirm() : "\<TAB>"
|
||||
|
||||
Plug 'othree/html5.vim'
|
||||
|
||||
Plug 'airblade/vim-gitgutter' " Git nápověda ke změně v kódu
|
||||
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
|
||||
" Plug 'Exafunction/codeium.vim', { 'branch': 'main' } " Free AI codium
|
||||
|
||||
Plug 'codota/tabnine-nvim', { 'do': './dl_binaries.sh' }
|
||||
|
||||
Plug 'm4xshen/autoclose.nvim' " AutocloseTag (lua)
|
||||
|
||||
Plug 'https://github.com/scrooloose/nerdtree' " NERDTree postraní panel
|
||||
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'} "Coc balíčkovací systém
|
||||
|
||||
Plug 'mhinz/vim-startify' " Alternativní startovací obrazovka
|
||||
|
||||
Plug 'preservim/nerdcommenter' " NERD Commenter - komentáře
|
||||
|
||||
Plug 'wakatime/vim-wakatime' " Wakatime
|
||||
|
||||
Plug 'tpope/vim-fugitive' " Git - vim fugitive
|
||||
|
||||
Plug 'lewis6991/gitsigns.nvim' " Git Signs (lua)
|
||||
|
||||
Plug 'lilydjwg/colorizer' " Náhled barev css
|
||||
|
||||
Plug 'Pocco81/auto-save.nvim' " Autosave
|
||||
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
|
||||
Plug 'pangloss/vim-javascript'
|
||||
|
||||
Plug 'akinsho/toggleterm.nvim', {'tag' : '*'} "Terminal
|
||||
|
||||
" Theme
|
||||
Plug 'dracula/vim', { 'as': 'dracula' }
|
||||
|
||||
Plug 'Tsuzat/NeoSolarized.nvim', { 'branch': 'master' }
|
||||
|
||||
Plug 'bluz71/vim-moonfly-colors', { 'as': 'moonfly' }
|
||||
|
||||
Plug 'ghifarit53/tokyonight-vim'
|
||||
|
||||
Plug 'morhetz/gruvbox'
|
||||
|
||||
Plug 'joshdick/onedark.vim'
|
||||
|
||||
Plug 'sainnhe/sonokai'
|
||||
|
||||
Plug 'sainnhe/edge'
|
||||
|
||||
Plug 'vim-airline/vim-airline'
|
||||
|
||||
Plug 'projekt0n/github-nvim-theme'
|
||||
|
||||
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
|
||||
|
||||
Plug 'xero/miasma.nvim'
|
||||
|
||||
Plug 'sts10/vim-pink-moon'
|
||||
|
||||
Plug 'gilgigilgil/anderson.vim'
|
||||
|
||||
Plug 'jacoborus/tender.vim'
|
||||
|
||||
Plug 'nordtheme/vim'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" Nastavení lua pluginů ve vlastních souborech
|
||||
lua require('space-user')
|
||||
|
||||
" Automatické instalování pluginů
|
||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||
endif
|
||||
|
||||
" vim-gitgutter
|
||||
let g:gitgutter_sign_added = '+'
|
||||
let g:gitgutter_sign_modified = '~'
|
||||
let g:gitgutter_sign_removed = '-'
|
||||
|
||||
" Autostart NERDTree
|
||||
" autocmd VimEnter * call NERDTreeFocus() " Autostart NERDTreeFocus
|
||||
|
||||
" Komentáře NERD Commenter klávesové zkratky Ctrl + k + l
|
||||
let mapleader=","
|
||||
nmap <C-k> <plug>NERDCommenterToggle
|
||||
vmap <C-l> <plug>NERDCommenterToggle<CR>
|
||||
|
||||
" Atomaticky po startu theme
|
||||
colorscheme dracula
|
||||
autocmd VimEnter * colorscheme github_dark
|
||||
|
||||
" Autosave
|
||||
let g:auto_save_enabled = 1
|
||||
let g:auto_save_delay = 3000
|
||||
let g:auto_save_events = ['InsertLeave', 'TextChanged']
|
||||
@@ -0,0 +1 @@
|
||||
require("autoclose").setup()
|
||||
@@ -0,0 +1,8 @@
|
||||
require('gitsigns').setup {
|
||||
-- signs config
|
||||
current_line_blame = true,
|
||||
current_line_blame_opts = {
|
||||
virt_text_pos = 'right_align'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
require('space-user/gitsigns')
|
||||
require('space-user/autoclosetag')
|
||||
require('space-user/treesitter')
|
||||
require('space-user/tabnine')
|
||||
require('space-user/toggleterm')
|
||||
@@ -0,0 +1,10 @@
|
||||
require('tabnine').setup({
|
||||
disable_auto_comment=true,
|
||||
accept_keymap="<ENTER>",
|
||||
dismiss_keymap = "<C-]>",
|
||||
debounce_ms = 800,
|
||||
suggestion_color = {gui = "#808080", cterm = 244},
|
||||
exclude_filetypes = {"TelescopePrompt", "NvimTree"},
|
||||
log_file_path = nil, -- absolute path to Tabnine log file
|
||||
ignore_certificate_errors = false,
|
||||
})
|
||||
@@ -0,0 +1,3 @@
|
||||
require("toggleterm").setup(
|
||||
|
||||
)
|
||||
@@ -0,0 +1,11 @@
|
||||
local treesitter = require('nvim-treesitter.configs')
|
||||
|
||||
treesitter.setup {
|
||||
highlight = {
|
||||
enable = true
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user