some changes
This commit is contained in:
		
							
								
								
									
										2
									
								
								bin/.bin/javadocs
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								bin/.bin/javadocs
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,2 @@ | ||||
| #!/bin/bash | ||||
| setsid firefox "/usr/share/doc/java-openjdk/index.html" & | ||||
| @ -1644,3 +1644,4 @@ | ||||
| 🏴 flag: England; U+1F3F4 U+E0067 U+E0062 U+E0065 U+E006E U+E0067 U+E007F | ||||
| 🏴 flag: Scotland; U+1F3F4 U+E0067 U+E0062 U+E0073 U+E0063 U+E0074 U+E007F | ||||
| 🏴 flag: Wales; U+1F3F4 U+E0067 U+E0062 U+E0077 U+E006C U+E0073 U+E007F | ||||
| Ⓥ	voids:  | ||||
|  | ||||
| @ -4,5 +4,6 @@ inactive-opacity = 0.9; | ||||
| opacity-rule = [ | ||||
| 	"100:name ~?= 'YouTube — Mozilla Firefox'", | ||||
| 	"100:name ~?= 'Twitch — Mozilla Firefox'", | ||||
| 	"100:name ~?= 'Netflix — Mozilla Firefox'", | ||||
| 	"100:class_g = 'Zathura'" | ||||
| ] | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| set -g mouse | ||||
| set -g set-clipboard on | ||||
|  | ||||
| bind h selectp -L  | ||||
| bind j selectp -D  | ||||
|  | ||||
							
								
								
									
										30
									
								
								vim/.vimrc
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								vim/.vimrc
									
									
									
									
									
								
							| @ -1,8 +1,22 @@ | ||||
| autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR> | ||||
|  | ||||
| nnoremap <C-p> :GFiles<CR> | ||||
| nnoremap <C-p> :Buffers<CR> | ||||
| nnoremap <C-g> :Ag<CR> | ||||
|  | ||||
| "alt g to :Gfiles (if in git folder) else :Files | ||||
| function! GFilesFallback() | ||||
|   let output = system('git rev-parse --show-toplevel') " Is there a faster way? | ||||
|   let prefix = get(g:, 'fzf_command_prefix', '') | ||||
|   if v:shell_error == 0 | ||||
|     exec "normal :" . prefix . "GFiles\<CR>" | ||||
|   else | ||||
|     exec "normal :" . prefix . "Files\<CR>" | ||||
|   endif | ||||
|   return 0 | ||||
| endfunction | ||||
| execute "set <M-g>=\eg" | ||||
| nnoremap <M-g> :call GFilesFallback()<CR> | ||||
|  | ||||
| nnoremap <leader><CR> :vert term<CR> | ||||
|  | ||||
| let g:netrw_keepdir=0 | ||||
| @ -11,7 +25,6 @@ let g:netrw_liststyle=3 | ||||
| let python_highlight_all=1 | ||||
| let g:pymode_python = 'python3' | ||||
| let g:pymode_options_max_line_length = 120 | ||||
| " let g:ctrlp_cmd = 'CtrlPTag' | ||||
| let g:htmljinja_disable_detection = 1 | ||||
|  | ||||
| let g:vimtex_view_method = 'zathura' | ||||
| @ -20,9 +33,6 @@ let g:vimtex_grammar_textidote = {'jar': '/usr/share/java/textidote.jar'} | ||||
|  | ||||
| let g:vimtex_view_method = 'zathura' | ||||
|  | ||||
| " nnoremap <c-p> <plug>(YCMFindSymbolInDirectory) | ||||
| " nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace) | ||||
|  | ||||
| nnoremap gd :YcmCompleter GoToDefinition<CR> | ||||
| nnoremap gr :YcmCompleter GoToReferences<CR> | ||||
| nnoremap K :YcmCompleter GetDoc<CR> | ||||
| @ -65,6 +75,7 @@ let g:cpp_attributes_highlight = 1 | ||||
| let g:ycm_always_populate_location_list = 1 | ||||
| let g:ycm_goto_buffer_command = "'split-or-existing-window'" | ||||
| let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py' | ||||
| " let g:ycm_java_binary_path = "/usr/lib/jvm/java-17-openjdk/bin/java" | ||||
| let g:ycm_language_server = [ | ||||
| 			\ { | ||||
| 			\ 	'name': 'tex', | ||||
| @ -78,14 +89,15 @@ let g:ycm_language_server = [ | ||||
| nnoremap <space> za | ||||
| syntax on | ||||
|  | ||||
| " set foldcolumn=1 | ||||
| set autochdir | ||||
| set clipboard^=unnamed,unnamedplus | ||||
| set concealcursor= | ||||
| set conceallevel=2 | ||||
| set encoding=utf-8 | ||||
| " set foldcolumn=1 | ||||
| set foldlevel=99 | ||||
| set foldmethod=syntax | ||||
| set hidden | ||||
| set hls | ||||
| set ignorecase | ||||
| set incsearch | ||||
| @ -95,18 +107,20 @@ set nocompatible | ||||
| set nowrap | ||||
| set nu | ||||
| set rnu | ||||
| set shiftwidth=4 | ||||
| set scrolloff=10 | ||||
| set shiftwidth=4 | ||||
| set showcmd | ||||
| set spelllang+=fr | ||||
| set splitbelow splitright | ||||
| set tabstop=4 | ||||
| set ttymouse=xterm2 | ||||
|  | ||||
| color desert  | ||||
| hi Normal ctermfg=None ctermbg=None | ||||
| hi NonText ctermfg=None ctermbg=None | ||||
|  | ||||
| packadd termdebug | ||||
| let g:termdebug_wide=1 | ||||
|  | ||||
| filetype off | ||||
| set rtp+=$HOME/.vim/bundle/Vundle.vim/ | ||||
| @ -127,6 +141,7 @@ Plugin 'szw/vim-maximizer' | ||||
| Plugin 'junegunn/fzf', {'do': { -> fzf#install() }} | ||||
| Plugin 'junegunn/fzf.vim' | ||||
| Plugin 'junegunn/vim-peekaboo'		"see content of register before past for @ C-R and \" | ||||
| Plugin 'chrisbra/unicode.vim' | ||||
|  | ||||
| "useful in multiple languages | ||||
| Plugin 'SirVer/ultisnips'		"fast write | ||||
| @ -168,7 +183,6 @@ Plugin 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for' | ||||
| Plugin 'bfrg/vim-cpp-modern'		"Extended vim syntax highlight c++ | ||||
| Plugin 'a.vim'				"go from hpp to cpp with :A | ||||
| " Plugin 'xavierd/clang_complete'		"CLang Complete (don't work with ycm) | ||||
| " Plugin 'ctrlpvim/ctrlp.vim'		"ctrl p support | ||||
| Plugin 'cdelledonne/vim-cmake' | ||||
|  | ||||
| "glsl (shader) | ||||
|  | ||||
| @ -1 +1,2 @@ | ||||
| emulate sh -c 'source /etc/profile' | ||||
| emulate sh -c 'source ~/.profile' | ||||
|  | ||||
| @ -174,6 +174,9 @@ source /usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh | ||||
| zmodload zsh/terminfo | ||||
| # Enabling fzf capabilities | ||||
| source /usr/share/fzf/*.zsh | ||||
|  | ||||
| source /opt/enhancd/init.sh | ||||
|  | ||||
| bindkey "$terminfo[kcuu1]" history-substring-search-up | ||||
| bindkey "$terminfo[kcud1]" history-substring-search-down | ||||
| bindkey '^[[A' history-substring-search-up			 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user