Commit Graph

63 Commits

Author SHA1 Message Date
Lucas Noki
23771e22be Initial swap file 2020-01-18 06:23:01 +01:00
Lucas Noki
ff076eb527 Align vim module to new cli, hide internal functions 2020-01-18 05:56:44 +01:00
Lucas Noki
69c93fd894 Add python-fire, Remove pyinquirer from main runner script 2020-01-18 05:39:23 +01:00
Marcel Schwarz
d7531412cf Merge branch '8-set-up-vim-correctly' into 'master'
Resolve "Set up vim correctly"

Closes #8

See merge request icaotix/linux-tools!7
2020-01-12 18:07:03 +00:00
05585630ed Remove try except for vimfile creation 2020-01-12 19:00:19 +01:00
73a3bb044c Turn on real path 2020-01-11 05:20:08 +01:00
b15474edaf Change curl request to format string
Put plugin manager installation in plugin selection and only if plugins are selected
2020-01-11 05:12:05 +01:00
92fad36fce Replace some for loops with map functions
Delete unnecessary comment
2020-01-11 04:13:36 +01:00
Lucas Noki
3478379f5b Put vimplug URL into json file 2020-01-11 02:38:46 +01:00
Lucas Noki
caa3eea0b9 Extract URL into json_config file, remove the reverse function
Uncomment the self.exec_plugin_manager function
2020-01-11 02:38:46 +01:00
Lucas Noki
34851105c9 Create function to run plugin installer 2020-01-11 02:38:46 +01:00
Lucas Noki
2cf7445593 Correct variable name 2020-01-11 02:38:46 +01:00
Lucas Noki
7bf711875b Add check for vimplug file, curl vimplug file 2020-01-11 02:38:46 +01:00
f92cb202b3 Remove function parameters, remove class variables, move todos 2020-01-11 02:38:46 +01:00
ad900097dc Split functionality into functions 2020-01-11 02:38:46 +01:00
33ae820b94 Move default_settings creation out of try block 2020-01-11 02:38:46 +01:00
10aaf41b38 Formatting, exclude devenv in gitignore
add placeholder for pluginmanager
2020-01-11 02:38:46 +01:00
371cdcc906 Fix path creation, add devenv path for testing 2020-01-11 02:38:46 +01:00
9ef6efcbc3 Merge json files, inline settings list generation 2020-01-11 02:38:46 +01:00
Lucas Noki
9fe48808e7 Fix hardcoded home path
Add underline effect, Correct use of Path
2020-01-11 02:38:46 +01:00
Lucas Noki
f9ce15619e Add settings.json, Append settings to vimrc
Write settings in right order
2020-01-11 02:38:46 +01:00
Lucas Noki
381d01cb82 Change vimrc content in code not on disk
Remove shutil
Remove awk bash command
Fix typo
2020-01-11 02:38:46 +01:00
Lucas Noki
04e6f9b160 Extract plugin list into json file
Adjust line-breaks within strings
Simplify if clause
2020-01-11 02:38:46 +01:00
Lucas Noki
7a05624f36 Implement UI with PyInquirer
Delete unnecessary print statements
Simplify plugin list access
2020-01-11 02:38:46 +01:00
ef16367a12 Revert "Add class to run a single module"
This reverts commit 0b341f411fb508494b8a449b38c5254a3c0caefa.
2020-01-11 02:38:46 +01:00
Lucas Noki
5cae85fa0b Update to new version of abstract module
Delete obsolete run config for singlemodulerunner
Autoformatting
2020-01-11 02:38:46 +01:00
Lucas Noki
4c8815ad92 Add comments, Fix path errors, Check if vim folders already exist 2020-01-11 02:38:46 +01:00
Lucas Noki
3b261cc736 Add check if vimdir exists, add vimdir if not and make autoload dir 2020-01-11 02:38:46 +01:00
80b9e544e7 Update Main_Script run config 2020-01-11 02:38:46 +01:00
Lucas Noki
7da9cd3472 Use temp file to write changes safely, remove dupes with awk 2020-01-11 02:38:46 +01:00
Lucas Noki
0c6744e378 Edit method for creating the initial vimrc file to be less error prone 2020-01-11 02:38:46 +01:00
Lucas Noki
4103c42724 Add imports 2020-01-11 02:38:46 +01:00
Lucas Noki
39a3560bdf Load vimrc into memory for safer editing
Allow plugins to be installed after initial run
2020-01-11 02:38:46 +01:00
Lucas Noki
963a164611 Add vimrc file with plugin manager block and selected plugins in beween 2020-01-11 02:38:46 +01:00
Lucas Noki
ef0c7de0da Inline convenience functions
WIP Add check for existing file, Groundwork for vimrc creation
2020-01-11 02:38:46 +01:00
Lucas Noki
8496ba006e Changed language from German to English 2020-01-11 02:38:46 +01:00
4e6a0cbe69 Change sdk home to project default 2020-01-11 02:38:46 +01:00
100cdb97a7 Formatting 2020-01-11 02:38:46 +01:00
1366b53c20 Add class to run a single module 2020-01-11 02:38:46 +01:00
581bcb641b Add shared run config 2020-01-11 02:38:46 +01:00
Lucas Noki
5649955821 Fixed typos, Implemented module interface 2020-01-11 02:38:46 +01:00
Lucas Noki
524559d5e0 Add Vim module, Add init for module,
Add class for module, Add basic implementation for plugin selection
2020-01-11 02:38:46 +01:00
c7e2afbbc7 Rename variables to not cover outer ones, remove transform method
simplify module run process
2020-01-05 17:56:53 +01:00
Marcel Schwarz
058bdcd828 Merge branch '10-create-menu-to-choose-a-module-to-run-from-main-py' into 'master'
Resolve "Create menu to choose a module to run from main.py"

Closes #10

See merge request icaotix/linux-tools!4
2019-12-22 01:39:17 +00:00
af169b9598 Replace IModule with AbstractModule
Delete CommandRunner
Set up API to delegate the module execution to the module itself
Update SampleModule
2019-12-21 02:49:53 +01:00
79449c8ad3 Add command line interface with PyInquirer
Add update requirements.txt
2019-12-16 22:51:40 +01:00
c47b255924 Update IModule to AbstractModule with ABC class 2019-12-16 22:51:06 +01:00
1fbca4a652 Add exception handling for module discovery 2019-12-15 21:11:01 +01:00
440d72896f Integrate single module runner in main file 2019-12-15 21:11:01 +01:00
Marcel Schwarz
907d9ff33f Delete Readme.md
Moved content in wiki section
2019-12-15 20:10:12 +00:00