From 1f49ec438444cce91fd453ee0ed3d5ca23481296 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 19 Sep 2016 23:52:21 +0300 Subject: export .appdata/ to another project --- .../Default (Windows).sublime-keymap | 6 -- .../Sublime Text 3/Preferences.sublime-settings | 35 ------------ .appdata/appdata.sh | 64 ---------------------- .appdata/ghc/ghci.conf | 9 --- .gitignore | 3 - 5 files changed, 117 deletions(-) delete mode 100644 .appdata/Sublime Text 3/Default (Windows).sublime-keymap delete mode 100644 .appdata/Sublime Text 3/Preferences.sublime-settings delete mode 100644 .appdata/appdata.sh delete mode 100644 .appdata/ghc/ghci.conf diff --git a/.appdata/Sublime Text 3/Default (Windows).sublime-keymap b/.appdata/Sublime Text 3/Default (Windows).sublime-keymap deleted file mode 100644 index e64ad82..0000000 --- a/.appdata/Sublime Text 3/Default (Windows).sublime-keymap +++ /dev/null @@ -1,6 +0,0 @@ -[ - { "keys": ["f5"], "command": "revert" }, - - { "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} }, - { "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} }, -] diff --git a/.appdata/Sublime Text 3/Preferences.sublime-settings b/.appdata/Sublime Text 3/Preferences.sublime-settings deleted file mode 100644 index 0132872..0000000 --- a/.appdata/Sublime Text 3/Preferences.sublime-settings +++ /dev/null @@ -1,35 +0,0 @@ -{ - "always_show_minimap_viewport": true, - "auto_complete_commit_on_tab": true, - "color_scheme": "Packages/Color Scheme - Default/Dawn.tmTheme", - "detect_indentation": false, - "draw_indent_guides": false, - "draw_minimap_border": true, - "fallback_encoding": "Cyrillic (Windows 1251)", - "folder_exclude_patterns": - [ - ".git", - "__pycache__" - ], - "font_options": - [ - "no_italic", - "no_bold" - ], - "font_size": 11, - "highlight_line": true, - "highlight_modified_tabs": true, - "hot_exit": false, - "remember_open_files": false, - "rulers": - [ - 79 - ], - "scroll_speed": 0, - "show_encoding": true, - "show_line_endings": true, - "smart_indent": false, - "translate_tabs_to_spaces": true, - "trim_trailing_white_space_on_save": true, - "word_wrap": false -} diff --git a/.appdata/appdata.sh b/.appdata/appdata.sh deleted file mode 100644 index c016506..0000000 --- a/.appdata/appdata.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2016 Egor Tensin -# This file is part of the "Cygwin configuration files" project. -# For details, see https://github.com/egor-tensin/cygwin-home. -# Distributed under the MIT License. - -# This relies on the availability of native symlinks. -# Those are indeed supported by NTFS, but require Administrator privileges for -# creation. -# It likely won't bother you as long as you don't use the functions defined in -# this file. -# In any case, you will see `ln` complaining about some access being denied in -# case something goes wrong. -# -# Remember that in order to force `ln` to use native NTFS symlinks, your -# `CYGWIN` Windows environment variable value **must** include either -# `winsymlinks:native` or `winsymlinks:nativestrict`! - -ensure_symlinks_enabled() { - case "${CYGWIN:-}" in - *winsymlinks:native*) ;; - *winsymlinks:nativestrict*) ;; - - *) - echo "${FUNCNAME[0]}: native Windows symlinks aren't enabled in Cygwin" >&2 - return 1 - ;; - esac -} - -symlink_preferences() ( - set -o errexit -o nounset -o pipefail - - if [ "$#" -ne 2 ]; then - echo "usage: ${FUNCNAME[0]} SRC_DIR DEST_DIR" >&2 - return 1 - fi - - ensure_symlinks_enabled - - local src_dir="$1" - local dest_dir="$2" - - mkdir -p "$dest_dir" - - find "$src_dir" -maxdepth 1 -type f -exec ln --force -s {} "$dest_dir" \; -) - -symlink_sublime_preferences() ( - set -o errexit -o nounset -o pipefail - - symlink_preferences \ - "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/Sublime Text 3" \ - "$APPDATA/Sublime Text 3/Packages/User" -) - -symlink_ghc_preferences() ( - set -o errexit -o nounset -o pipefail - - symlink_preferences \ - "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/ghc" \ - "$APPDATA/ghc" -) diff --git a/.appdata/ghc/ghci.conf b/.appdata/ghc/ghci.conf deleted file mode 100644 index 0cb900e..0000000 --- a/.appdata/ghc/ghci.conf +++ /dev/null @@ -1,9 +0,0 @@ -:set prompt "> " -:set prompt2 "" - -:seti -w - -:def hoogle \x -> return $ ":!hoogle \"" ++ x ++ "\"" - -:set -XOverloadedStrings -:set -XTupleSections diff --git a/.gitignore b/.gitignore index 3a681ab..1b22a7d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,6 @@ !/.LICENSE.txt !/.README.md -# Various Windows apps -!/.appdata/ - # bash, customized versions of the files found in /etc/defaults/etc/skel !/.bash_profile !/.bashrc -- cgit v1.2.3