gitignore

This commit is contained in:
TheK4n 2021-12-21 15:41:37 +03:00
parent 69bee15d80
commit 2fcb8ef4bd
2 changed files with 25 additions and 15 deletions

View File

@ -19,7 +19,7 @@ let &t_EI.="\e[1 q" "EI = нормальный режим
set encoding=utf-8 "Ставит кодировку UTF-8 set encoding=utf-8 "Ставит кодировку UTF-8
set nocompatible "Отключает обратную совместимость с Vi set nocompatible "Отключает обратную совместимость с Vi
syntax enable "Включает подсветку синтаксиса syntax on "Включает подсветку синтаксиса
set expandtab set expandtab
set smarttab set smarttab
@ -37,8 +37,12 @@ set smartcase
set hlsearch set hlsearch
set incsearch set incsearch
set mousehide
set mouse=a
set colorcolumn=120 set colorcolumn=120
" navigation on russian
nmap о j nmap о j
nmap л k nmap л k
nmap р h nmap р h
@ -48,18 +52,31 @@ nmap ф a
nmap в d nmap в d
set rtp+=~/.vim/bundle/Vundle.vim
nmap <F6> :NERDTreeToggle<CR>
set ffs=unix,dos,mac set ffs=unix,dos,mac
set encoding=utf8 set encoding=utf8
" tabs
nnoremap <C-Left> :tabprevious<CR> nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR> nnoremap <C-Right> :tabnext<CR>
nnoremap <C-h> :tabprevious<CR> nnoremap <C-h> :tabprevious<CR>
nnoremap <C-l> :tabnext<CR> nnoremap <C-l> :tabnext<CR>
" Plugins
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'preservim/nerdtree'
call vundle#end()
filetype plugin indent on
" Python
let python_highlight_all = 1
set t_Co=256
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,match,case
" nerdtree
nmap <F6> :NERDTreeToggle<CR>
let NERDTreeShowBookmarks = 1 let NERDTreeShowBookmarks = 1
let NERDTreeIgnore = ['\.pyc$', '\.swp', '\.swo', '\.vscode', '__pycache__'] let NERDTreeIgnore = ['\.pyc$', '\.swp', '\.swo', '\.vscode', '__pycache__']
@ -74,12 +91,3 @@ let g:lightline = {
\ 'gitbranch': 'fugitive#head' \ 'gitbranch': 'fugitive#head'
\ }, \ },
\ } \ }
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'preservim/nerdtree'
call vundle#end()
filetype plugin indent on

View File

@ -5,13 +5,15 @@ install:
ln -s $(PWD)/.subbash ~ ln -s $(PWD)/.subbash ~
ln -s $(PWD)/.bashrc ~ ln -s $(PWD)/.bashrc ~
ln -s $(PWD)/.zshrc ~ ln -s $(PWD)/.zshrc ~
vim:
ln -s $(PWD)/.vim ~ ln -s $(PWD)/.vim ~
ln -s $(PWD)/.vim/.vimrc ~ ln -s $(PWD)/.vim/.vimrc ~
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim
vim +PluginInstall +qall vim +PluginInstall +qall
clean: clean:
rm -rf .ssh doc etc functions img .gitignore README.md setup.sh ssh_setup.sh git_setup.sh .git rm -rf .ssh doc etc scripts img .gitignore README.md .git
ssh: ssh:
cat .ssh/config >> ~/.ssh/config cat .ssh/config >> ~/.ssh/config