From 45ce9faadfee27f54f6e915544c89d9f12b52d46 Mon Sep 17 00:00:00 2001 From: Metehan Gulac Date: Sun, 6 Dec 2020 02:25:32 +0300 Subject: [PATCH] removed unnecessary plugins && tmuxinator confs added --- .config/coc/extensions/package.json | 13 +--- .config/nvim/coc-settings.json | 13 +--- .config/nvim/settings.plugins.vim | 9 ++- .config/tmuxinator/parasut-ws-editor.yml | 78 +++++++++++++++++++++ .config/tmuxinator/parasut-ws-setup.yml | 89 ++++++++++++++++++++++++ 5 files changed, 173 insertions(+), 29 deletions(-) create mode 100644 .config/tmuxinator/parasut-ws-editor.yml create mode 100644 .config/tmuxinator/parasut-ws-setup.yml diff --git a/.config/coc/extensions/package.json b/.config/coc/extensions/package.json index d79b34b..4e14dc5 100644 --- a/.config/coc/extensions/package.json +++ b/.config/coc/extensions/package.json @@ -1,28 +1,17 @@ { "dependencies": { - "coc-clangd": ">=0.6.0", "coc-css": ">=1.2.6", "coc-ember": ">=1.4.7", - "coc-eslint": ">=1.3.2", - "coc-flutter-tools": ">=1.3.1", - "coc-go": ">=0.12.1", "coc-highlight": ">=1.2.6", "coc-html": ">=1.3.1", - "coc-java": ">=1.5.3", - "coc-java-debug": ">=0.1.5", - "coc-jest": ">=1.1.3", "coc-json": ">=1.3.2", "coc-marketplace": ">=1.8.0", - "coc-prettier": ">=1.1.20", - "coc-python": ">=1.2.13", "coc-snippets": ">=2.2.9", "coc-solargraph": ">=1.1.8", "coc-sql": ">=0.4.0", "coc-tsserver": ">=1.6.1", "coc-vetur": ">=1.2.3", "coc-vimlsp": ">=0.11.0", - "coc-xml": ">=1.14.0", - "coc-yaml": ">=1.1.3", - "coc-yank": ">=1.1.11" + "coc-xml": ">=1.14.0" } } diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index 462a2b8..cee0994 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -1,17 +1,6 @@ { "coc.preferences.bracketEnterImprove": true, "http.proxyStrictSSL": false, - "python.jediEnabled": false, "tsserver.maxTsServerMemory": 8192, - "tsserver.disableAutomaticTypeAcquisition": false, - "eslint.enable": false, - "eslint.autoFixOnSave": true, - "eslint.packageManager": "yarn", - "go.goplsOptions": { - "usePlaceholders": true, - "completionDocumentation": true, - "completeUnimported": true, - "matcher": "Fuzzy" - }, - "jest.watchman": true + "tsserver.disableAutomaticTypeAcquisition": false } diff --git a/.config/nvim/settings.plugins.vim b/.config/nvim/settings.plugins.vim index a6e5cda..68e243a 100644 --- a/.config/nvim/settings.plugins.vim +++ b/.config/nvim/settings.plugins.vim @@ -256,10 +256,9 @@ let g:bujo#window_width = get(g:, "bujo#window_width", 70) nnoremap vwm :call ColorMyPencils() " ctrl-c inoremap -" CoC-prettier -command! -nargs=0 Prettier :CocCommand prettier.formatFile -vmap py (coc-format-selected) -nmap py (coc-format-selected) +" Prettier confs +let g:prettier#config#single_quote = 'true' +let g:prettier#config#trailing_comma = 'all' " GoTo code navigation. nmap gd (coc-definition) nmap gy (coc-type-definition) @@ -301,7 +300,7 @@ com! W w " highlight on yank!!! ------------------------------------------------------- augroup highlight_yank autocmd! - autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank({timeout = 40}) + autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank({timeout = 400}) augroup END diff --git a/.config/tmuxinator/parasut-ws-editor.yml b/.config/tmuxinator/parasut-ws-editor.yml new file mode 100644 index 0000000..7fb91ee --- /dev/null +++ b/.config/tmuxinator/parasut-ws-editor.yml @@ -0,0 +1,78 @@ +# /home/saruman/.config/tmuxinator/parasut-ws-editor.yml + +name: parasut-ws-editor +#root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Note that the pre and post options have been deprecated and will be replaced by +# project hooks. + +# Project hooks + +# Runs on project start, always +# on_project_start: command + +# Run on project start, the first time +# on_project_first_start: command + +# Run on project start, after the first time +# on_project_restart: command + +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command + +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +windows: + - phoenix: + root: ~/Code/development/parasutcom/phoenix/ + panes: + - nvim: + - nvim README.md + - shared-logic: + root: ~/Code/development/parasutcom/shared-logic/ + panes: + - nvim: + - nvim README.md + <%- if @args.include? 'ui-library' %> + - ui-library: + root: ~/Code/development/parasutcom/ui-library/ + panes: + - nvim: + - nvim README.md + <%- end %> + <%- if @args.include? 'client' %> + - client: + root: ~/Code/development/parasutcom/client/ + panes: + - nvim: + - nvim README.md + <%- end %> + <%- if @args.include? 'trinity' %> + - trinity: + root: ~/Code/development/parasutcom/trinity/ + panes: + - nvim: + - nvim README.md + <%- end %> diff --git a/.config/tmuxinator/parasut-ws-setup.yml b/.config/tmuxinator/parasut-ws-setup.yml new file mode 100644 index 0000000..932ebaa --- /dev/null +++ b/.config/tmuxinator/parasut-ws-setup.yml @@ -0,0 +1,89 @@ +# /home/saruman/.config/tmuxinator/parasut-ws-setup.yml + +name: parasut-ws-setup +#root: ~/Code/development/parasutcom/ + +# Optional tmux socket +# socket_name: foo + +# Note that the pre and post options have been deprecated and will be replaced by +# project hooks. + +# Project hooks + +# Runs on project start, always +# on_project_start: command + +# Run on project start, the first time +# on_project_first_start: command + +# Run on project start, after the first time +# on_project_restart: command + +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command + +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +attach: false + +windows: + - server: + root: ~/Code/development/parasutcom/server/ + layout: tiled + panes: + - sidekiq: + - parasut-server-sidekiq + - rails: + - parasut-server + - billing: + root: ~/Code/development/parasutcom/billing/ + layout: tiled + panes: + - sidekiq: + - parasut-billing-sidekiq + - rails: + - parasut-billing + - phoenix: + root: ~/Code/development/parasutcom/phoenix/ + panes: + - ember: + - parasut-phoenix + <%- if @args.include? 'ui-library' %> + - ui-library: + root: ~/Code/development/parasutcom/ui-library/ + panes: + - ember: + - parasut-ui-library + <%- end %> + <%- if @args.include? 'client' %> + - client: + root: ~/Code/development/parasutcom/client/ + panes: + - ember: + - parasut-client + <%- end %> + <%- if @args.include? 'trinity' %> + - trinity: + root: ~/Code/development/parasutcom/trinity/ + panes: + - ember: + - parasut-trinity + <%- end %>