Skip to content

Instantly share code, notes, and snippets.

@klebermagno
Last active April 3, 2020 20:44
Show Gist options
  • Save klebermagno/3b99d598993d1b5017c354c0aed93ee5 to your computer and use it in GitHub Desktop.
Save klebermagno/3b99d598993d1b5017c354c0aed93ee5 to your computer and use it in GitHub Desktop.
how to permanently change safari user agent
defaults write com.apple.Safari CustomUserAgent "\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0\""
defaults delete com.apple.Safari CustomUserAgent
#=============================================================================
# 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 = "gruvbox"
# colorscheme = "dracula"
colorscheme = "onedark"
#colorscheme = "SpaceVim"
background = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = false
# 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
enable_statusline_display_mode = false
automatic_update = 1
guifont = "UbuntuMono Nerd Font:h11"
# pythonthreedll = "/Library/Frameworks/Python.framework/Versions/3.6/Python"
clipboard = "unnamed"
[[layers]]
name = "gtags"
gtagslabel = "pygments"
[[layers]]
name = "ctrlspace"
[[custom_plugins]]
name = 'liuchengxu/space-vim-dark'
[[custom_plugins]]
name = 'sei40kr/SpaceVim-onedark'
[[custom_plugins]]
name = 'dracula/vim'
[[custom_plugins]]
name = 'neomake/neomake'
merged = 0
[[layers]]
name = "lang#typescript"
[[custom_plugins]]
name = 'tasn/vim-tsx'
merge = 0
[[custom_plugins]]
name = 'artur-shaik/vim-javacomplete2'
merged = 0
[[custom_plugins]]
name = 'dbeniamine/cheat.sh-vim'
merged = 0
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "smart"
[[layers]]
name = "lang#java"
[[layers]]
name = "lang#c"
[[layers]]
name = "lang#json"
[[layers]]
name = "lang#markdown"
[[layers]]
name = "lang#python"
[[layers]]
name = 'github'
[[layers]]
name = 'git'
[[layers]]
name = "tools"
[[layers]]
name = "lang#go"
[[layers]]
name = "VersionControl"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
# Work in terminal Mac os X
let g:spacevim_custom_plugins = [
\ ['sei40kr/SpaceVim-onedark'],
\ ]
let g:spacevim_disabled_plugins = [
\ 'onedark.vim',
\ ]
syntax on
colorscheme onedark
set clipboard=unnamed
:%s/<\/gs:\(\w*\)>/<gs:\1y><\/gs:\1y>/g
:%s/[A-Z]/\L&/g
:%s/^/<gs:/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment