mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 07:39:36 +01:00
Enable some features to give them a try
This commit is contained in:
parent
c65d8312a3
commit
df96b0e848
10
.vimrc
10
.vimrc
@ -12,6 +12,7 @@ set relativenumber
|
|||||||
set incsearch
|
set incsearch
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set updatetime=100
|
set updatetime=100
|
||||||
|
set colorcolumn=81
|
||||||
" when indenting with '>', use 4 spaces width
|
" when indenting with '>', use 4 spaces width
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
" On pressing tab, insert 4 spaces
|
" On pressing tab, insert 4 spaces
|
||||||
@ -42,9 +43,13 @@ vmap // gc
|
|||||||
nmap <C-B><C-B> :set invrelativenumber<CR>
|
nmap <C-B><C-B> :set invrelativenumber<CR>
|
||||||
|
|
||||||
nmap gd :YcmCompleter GoToDefinition<CR>
|
nmap gd :YcmCompleter GoToDefinition<CR>
|
||||||
|
nmap <leader>yr :YcmCompleter RefactorRename <C-r>=expand('<cword>')<CR><C-f>
|
||||||
|
|
||||||
nnoremap <leader>ghw :h <C-R>=expand("<cword>")<CR><CR>
|
nnoremap <leader>ghw :h <C-R>=expand("<cword>")<CR><CR>
|
||||||
nmap <C-m> :MaximizerToggle<CR>
|
|
||||||
inoremap kj <esc>
|
inoremap kj <esc>
|
||||||
|
nmap <C-m> :MaximizerToggle<CR>
|
||||||
|
let g:maximizer_set_default_mapping = 0
|
||||||
" Make Y consistent with C and D. See :help Y.
|
" Make Y consistent with C and D. See :help Y.
|
||||||
nnoremap Y y$
|
nnoremap Y y$
|
||||||
|
|
||||||
@ -172,7 +177,6 @@ call plug#begin()
|
|||||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
\ 'python': [
|
\ 'python': [
|
||||||
@ -187,6 +191,7 @@ let g:ale_fixers = {
|
|||||||
\}
|
\}
|
||||||
|
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
|
let g:ale_python_flake8_options ="--ignore=E501"
|
||||||
|
|
||||||
source $HOME/.which-key.vim
|
source $HOME/.which-key.vim
|
||||||
" source $HOME/rotate.vim
|
" source $HOME/rotate.vim
|
||||||
@ -260,6 +265,7 @@ let g:ycm_key_detailed_diagnostics = ''
|
|||||||
|
|
||||||
let g:indentLine_concealcursor = 'inc'
|
let g:indentLine_concealcursor = 'inc'
|
||||||
let g:indentLine_conceallevel = 2
|
let g:indentLine_conceallevel = 2
|
||||||
|
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
|
||||||
|
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline_theme='deus'
|
let g:airline_theme='deus'
|
||||||
|
6
.zshrc
6
.zshrc
@ -41,7 +41,7 @@ COMPLETION_WAITING_DOTS="true"
|
|||||||
# Uncomment the following line if you want to disable marking untracked files
|
# Uncomment the following line if you want to disable marking untracked files
|
||||||
# under VCS as dirty. This makes repository status check for large repositories
|
# under VCS as dirty. This makes repository status check for large repositories
|
||||||
# much, much faster.
|
# much, much faster.
|
||||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||||
|
|
||||||
# Uncomment the following line if you want to change the command execution time
|
# Uncomment the following line if you want to change the command execution time
|
||||||
# stamp shown in the history command output.
|
# stamp shown in the history command output.
|
||||||
@ -49,12 +49,14 @@ COMPLETION_WAITING_DOTS="true"
|
|||||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
# or set a custom format using the strftime function format specifications,
|
# or set a custom format using the strftime function format specifications,
|
||||||
# see 'man strftime' for details.
|
# see 'man strftime' for details.
|
||||||
# HIST_STAMPS="mm/dd/yyyy"
|
HIST_STAMPS="mm/dd/yyyy"
|
||||||
|
|
||||||
|
|
||||||
|
# plugins=()
|
||||||
plugins=(
|
plugins=(
|
||||||
zsh-autosuggestions python pip last-working-dir history sudo command-not-found git extract zsh-syntax-highlighting docker docker-compose zsh-vi-mode z.lua
|
zsh-autosuggestions python pip last-working-dir history sudo command-not-found git extract zsh-syntax-highlighting docker docker-compose zsh-vi-mode z.lua
|
||||||
)
|
)
|
||||||
|
plugins+=(zsh-prompt-benchmark)
|
||||||
|
|
||||||
|
|
||||||
# https://stackoverflow.com/questions/28028740/git-tab-completion-in-zsh-throwing-errors
|
# https://stackoverflow.com/questions/28028740/git-tab-completion-in-zsh-throwing-errors
|
||||||
|
Loading…
Reference in New Issue
Block a user