Skip to content

Instantly share code, notes, and snippets.

@yoonhoGo
Last active November 3, 2023 18:11
Show Gist options
  • Save yoonhoGo/c1abb0b7d69b986e54140ac5fc7c9b60 to your computer and use it in GitHub Desktop.
Save yoonhoGo/c1abb0b7d69b986e54140ac5fc7c9b60 to your computer and use it in GitHub Desktop.

Revisions

  1. yoonhoGo revised this gist Dec 15, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion setup-vimrc.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,5 @@
    echo "set guifont=FiraCode\ Nerd\ Font\ Mono:h14" >> ~/.SpaceVim/vimrc
    echo "set macligatures" >> ~/.SpaceVim/vimrc
    echo "set macligatures" >> ~/.SpaceVim/vimrc
    echo "set encoding=UTF-8" >> ~/.SpaceVim/vimrc
    echo "set noswapfile" >> ~/.SpaceVim/vimrc
    echo "set smartcase" >> ~/.SpaceVim/vimrc
  2. yoonhoGo revised this gist Nov 25, 2020. 1 changed file with 36 additions and 23 deletions.
    59 changes: 36 additions & 23 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -11,8 +11,8 @@
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = 'gruvbox'
    colorscheme_bg = 'light'
    colorscheme = 'gruvbox' # 'onedark' # 'NeoSolarized'
    colorscheme_bg = 'dark'
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    enable_guicolors = true
    @@ -29,53 +29,66 @@
    filetree_direction = 'left'

    automatic_update = true
    disabled_plugins = ['comfortable-motion.vim']

    # Enable autocomplete layer
    [[layers]]
    name = 'autocomplete'
    auto_completion_return_key_behavior = 'complete'
    auto_completion_tab_key_behavior = 'smart'
    name = 'autocomplete'
    auto_completion_return_key_behavior = 'complete'
    auto_completion_tab_key_behavior = 'smart'

    [[layers]]
    name = 'shell'
    default_position = 'bottom'
    default_height = 30
    name = 'shell'
    default_position = 'bottom'
    default_height = 30

    [[layers]]
    name = 'colorscheme'
    name = 'colorscheme'

    [[layers]]
    # name = 'fzf'
    name = 'denite'
    name = 'denite'

    [[layers]]
    name = 'git'
    name = 'gtags'

    [[layers]]
    name = 'test'
    name = 'git'

    [[layers]]
    name = 'debug'
    name = 'test'

    [[layers]]
    name = 'lsp'
    filetypes = [
    'javascript',
    'typescript'
    ]
    name = 'debug'

    [[layers]]
    name = 'lsp'

    [[layers]]
    name = 'tmux'

    # Language Layers
    [[layers]]
    name = 'lang#javascript'
    name = 'lang#javascript'

    [[layers]]
    name = 'lang#json'
    name = 'lang#json'

    [[layers]]
    name = 'lang#typescript'
    name = 'lang#typescript'

    [[layers]]
    name = 'lang#markdown'
    name = 'lang#markdown'

    [[layers]]
    name = 'lang#dockerfile'

    # Custom plugin
    # ...
    # [[custom_plugins]]
    # name = 'yuttie/comfortable-motion.vim'

    [[custom_plugins]]
    name = 'ryanoasis/vim-devicons'

    [[custom_plugins]]
    name = 'pechorin/any-jump.vim'
  3. yoonhoGo revised this gist Jun 23, 2020. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -78,5 +78,4 @@ name = 'lang#typescript'
    name = 'lang#markdown'

    # Custom plugin
    [[custom_plugins]]
    name = 'yuttie/comfortable-motion.vim'
    # ...
  4. yoonhoGo revised this gist Jun 23, 2020. 2 changed files with 3 additions and 1 deletion.
    3 changes: 3 additions & 0 deletions reinstall-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
    rm -rf ~/.cache/{ctrlp/,neocomplete/,neomru/,neosnippet,neoyank,obexd,unite,vimfiles} ~/.SpaceVim ~/.vim
    curl -sLf https://spacevim.org/install.sh | bash -s -- --install neovim
    1 change: 0 additions & 1 deletion remove-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,6 @@ rm -rf ~/.cache/SpaceVim
    # Best way
    rm -rf ~/.cache/{ctrlp/,neocomplete/,neomru/,neosnippet,neoyank,obexd,unite,vimfiles} ~/.SpaceVim ~/.vim


    # remove vim settings
    rm -rf .vim .vimrc .viminfo
    rm -rf ~/.config/nvim
  5. yoonhoGo revised this gist Jun 23, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions remove-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,9 @@ curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
    rm -rf .SpaceVim .SpaceVim.d
    rm -rf ~/.cache/SpaceVim

    # Best way
    rm -rf ~/.cache/{ctrlp/,neocomplete/,neomru/,neosnippet,neoyank,obexd,unite,vimfiles} ~/.SpaceVim ~/.vim


    # remove vim settings
    rm -rf .vim .vimrc .viminfo
  6. yoonhoGo revised this gist Jun 23, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions remove-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
    rm -rf .SpaceVim .SpaceVim.d
    rm -rf ~/.cache/SpaceVim


    # remove vim settings
  7. yoonhoGo revised this gist Jun 23, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion remove-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,5 @@ rm -rf .SpaceVim .SpaceVim.d


    # remove vim settings
    rm -rf .vim .vimrc .viminfo
    rm -rf .vim .vimrc .viminfo
    rm -rf ~/.config/nvim
  8. yoonhoGo revised this gist Jun 23, 2020. 2 changed files with 43 additions and 24 deletions.
    61 changes: 37 additions & 24 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -11,31 +11,30 @@
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = "onedark"
    colorscheme_bg = "dark"
    colorscheme = 'gruvbox'
    colorscheme_bg = 'light'
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    enable_guicolors = true
    # Disable statusline separator, if you want to use other value, please
    # install nerd fonts
    statusline_separator = "arrow"
    statusline_inactive_separator = "arrow"
    statusline_separator = 'arrow'
    statusline_inactive_separator = 'arrow'
    buffer_index_type = 4
    enable_tabline_filetype_icon = true
    statusline_display_mode = false
    autocomplete_method = "coc"
    enable_statusline_mode = false

    autocomplete_method = 'coc'

    filetree_direction = 'left'

    automatic_update = true

    # Enable autocomplete layer
    [[layers]]
    name = 'autocomplete'
    auto-completion-return-key-behavior = "complete"
    auto-completion-tab-key-behavior = "smart"

    [[layers]]
    name = "lsp"
    filetypes = [
    "javascript"
    ]
    auto_completion_return_key_behavior = 'complete'
    auto_completion_tab_key_behavior = 'smart'

    [[layers]]
    name = 'shell'
    @@ -45,25 +44,39 @@ default_height = 30
    [[layers]]
    name = 'colorscheme'

    # Plugins Layers
    [[layers]]
    name = "git"
    # name = 'fzf'
    name = 'denite'

    [[layers]]
    name = 'git'

    [[layers]]
    name = "fzf"
    name = 'test'

    [[layers]]
    name = "debug"
    name = 'debug'

    # Lnaguages Layer
    [[layers]]
    name = "lang#rust"
    name = 'lsp'
    filetypes = [
    'javascript',
    'typescript'
    ]

    # Language Layers
    [[layers]]
    name = "lang#javascript"
    name = 'lang#javascript'

    [[layers]]
    name = "lang#typescript"
    name = 'lang#json'

    [[layers]]
    name = "lang#json"
    name = 'lang#typescript'

    [[layers]]
    name = 'lang#markdown'

    # Custom plugin
    [[custom_plugins]]
    name = 'yuttie/comfortable-motion.vim'
    6 changes: 6 additions & 0 deletions remove-spacevim.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
    rm -rf .SpaceVim .SpaceVim.d


    # remove vim settings
    rm -rf .vim .vimrc .viminfo
  9. yoonhoGo revised this gist Jun 2, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion setup-vimrc.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    echo "set guifont=FiraCode\ Nerd\ Font\ Mono:h14" >> ~/.SpaceVim/vimrc
    echo "set guifont=FiraCode\ Nerd\ Font\ Mono:h14" >> ~/.SpaceVim/vimrc
    echo "set macligatures" >> ~/.SpaceVim/vimrc
  10. yoonhoGo revised this gist Jun 2, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup-vimrc.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    cat ~/.SpaceVim/vimrc >> set guifont=FiraCode\ Nerd\ Font\ Mono:h14
    echo "set guifont=FiraCode\ Nerd\ Font\ Mono:h14" >> ~/.SpaceVim/vimrc
  11. yoonhoGo revised this gist Jun 2, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -64,3 +64,6 @@ name = "debug"

    [[layers]]
    name = "lang#typescript"

    [[layers]]
    name = "lang#json"
  12. yoonhoGo revised this gist Jun 2, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup-vimrc.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    cat ~/.SpaceVim/vimrc >> set guifont=FiraCode\ Nerd\ Font\ Mono:h14
  13. yoonhoGo revised this gist May 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.toml
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@
    colorscheme_bg = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    guicolors = true
    enable_guicolors = true
    # Disable statusline separator, if you want to use other value, please
    # install nerd fonts
    statusline_separator = "arrow"
  14. yoonhoGo revised this gist May 28, 2020. 1 changed file with 6 additions and 19 deletions.
    25 changes: 6 additions & 19 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = "material"
    colorscheme = "onedark"
    colorscheme_bg = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    @@ -32,42 +32,29 @@ auto-completion-return-key-behavior = "complete"
    auto-completion-tab-key-behavior = "smart"

    [[layers]]
    name = "lsp"
    filetypes = [
    name = "lsp"
    filetypes = [
    "javascript"
    ]
    ]

    [[layers]]
    name = 'shell'
    default_position = 'top'
    default_position = 'bottom'
    default_height = 30

    [[layers]]
    name = 'colorscheme'

    [[layers]]
    name = "ui"
    enable_sidebar = true

    # Plugins Layers
    [[layers]]
    name = "github"

    [[layers]]
    name = "git"
    name = "git"

    [[layers]]
    name = "fzf"

    [[layers]]
    name = "tools"

    [[layers]]
    name = "debug"

    [[layers]]
    name = "checkers"

    # Lnaguages Layer
    [[layers]]
    name = "lang#rust"
  15. yoonhoGo revised this gist Apr 11, 2020. 1 changed file with 20 additions and 2 deletions.
    22 changes: 20 additions & 2 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,6 @@ auto-completion-tab-key-behavior = "smart"
    [[layers]]
    name = "lsp"
    filetypes = [
    "rust",
    "javascript"
    ]

    @@ -50,6 +49,25 @@ name = 'colorscheme'
    name = "ui"
    enable_sidebar = true

    # Plugins Layers
    [[layers]]
    name = "github"

    [[layers]]
    name = "git"

    [[layers]]
    name = "fzf"

    [[layers]]
    name = "tools"

    [[layers]]
    name = "debug"

    [[layers]]
    name = "checkers"

    # Lnaguages Layer
    [[layers]]
    name = "lang#rust"
    @@ -58,4 +76,4 @@ name = 'colorscheme'
    name = "lang#javascript"

    [[layers]]
    name = "lang#typescript"
    name = "lang#typescript"
  16. yoonhoGo revised this gist Apr 10, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.toml
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ name = 'shell'
    default_position = 'top'
    default_height = 30

    [[layer]]
    [[layers]]
    name = 'colorscheme'

    [[layers]]
  17. yoonhoGo created this gist Apr 10, 2020.
    61 changes: 61 additions & 0 deletions init.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,61 @@
    #=============================================================================
    # dark_powered.toml --- dark powered configuration example for SpaceVim
    # Copyright (c) 2016-2017 Wang Shidong & Contributors
    # Author: Wang Shidong < wsdjeg at 163.com >
    # URL: https://spacevim.org
    # License: GPLv3
    #=============================================================================

    # All SpaceVim option below [option] section
    [options]
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = "material"
    colorscheme_bg = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    guicolors = true
    # Disable statusline separator, if you want to use other value, please
    # install nerd fonts
    statusline_separator = "arrow"
    statusline_inactive_separator = "arrow"
    buffer_index_type = 4
    enable_tabline_filetype_icon = true
    statusline_display_mode = false
    autocomplete_method = "coc"

    # Enable autocomplete layer
    [[layers]]
    name = 'autocomplete'
    auto-completion-return-key-behavior = "complete"
    auto-completion-tab-key-behavior = "smart"

    [[layers]]
    name = "lsp"
    filetypes = [
    "rust",
    "javascript"
    ]

    [[layers]]
    name = 'shell'
    default_position = 'top'
    default_height = 30

    [[layer]]
    name = 'colorscheme'

    [[layers]]
    name = "ui"
    enable_sidebar = true

    # Lnaguages Layer
    [[layers]]
    name = "lang#rust"

    [[layers]]
    name = "lang#javascript"

    [[layers]]
    name = "lang#typescript"