All Projects → ruanyl → vim-sort-imports

ruanyl / vim-sort-imports

Licence: other
vim port of import-sort. Sort javascript/typescript imports

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-sort-imports

Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (+484.38%)
Mutual labels:  sort
gulp-sort
Sort files in stream by path or any custom sort comparator
Stars: ✭ 22 (-31.25%)
Mutual labels:  sort
yolo deepsort
Fast MOT base on yolo+deepsort, support yolo3 and yolo4
Stars: ✭ 47 (+46.88%)
Mutual labels:  sort
Externalsortinginjava
External-Memory Sorting in Java
Stars: ✭ 196 (+512.5%)
Mutual labels:  sort
Sortfilterproxymodel
A nicely exposed QSortFilterProxyModel for QML
Stars: ✭ 214 (+568.75%)
Mutual labels:  sort
sorting-visualization
🎨 A command-line tool to generate GIF which can display sorting algorithm
Stars: ✭ 37 (+15.63%)
Mutual labels:  sort
Sortpom
Maven plugin that helps the user sort pom.xml.
Stars: ✭ 185 (+478.13%)
Mutual labels:  sort
batching-toposort
Efficiently sort interdependent tasks into a sequence of concurrently-executable batches
Stars: ✭ 21 (-34.37%)
Mutual labels:  sort
Data-Structure-Algorithm-Programs
This Repo consists of Data structures and Algorithms
Stars: ✭ 464 (+1350%)
Mutual labels:  sort
jsonfiddle
JSON Fiddling
Stars: ✭ 14 (-56.25%)
Mutual labels:  sort
Technicalnote
Repository to store what we have studied. 📖 We want everyone to get a job through TechnicalNote.
Stars: ✭ 206 (+543.75%)
Mutual labels:  sort
Cpp Timsort
A C++ implementation of timsort
Stars: ✭ 211 (+559.38%)
Mutual labels:  sort
repository
[PHP 7] Implementation and definition of a base Repository in Domain land.
Stars: ✭ 26 (-18.75%)
Mutual labels:  sort
Rummage ecto
Search, Sort and Pagination for ecto queries
Stars: ✭ 190 (+493.75%)
Mutual labels:  sort
Static-Sort
A simple C++ header-only library for fastest sorting of small arrays. Generates sorting networks on compile time via templates.
Stars: ✭ 30 (-6.25%)
Mutual labels:  sort
Pretty Algorithms
🌊 Pretty, common and useful algorithms with modern JS and beautiful tests
Stars: ✭ 2,163 (+6659.38%)
Mutual labels:  sort
js-deep-sort-object
Simple module to sort objects recursively by its keys
Stars: ✭ 19 (-40.62%)
Mutual labels:  sort
lua sort
Lua pure sort algorithm based on lib_table.c (from LuaJIT 2.1.0)
Stars: ✭ 21 (-34.37%)
Mutual labels:  sort
PixelGlitch
Image glitch visualization using various Pixel Sorting methods for Processing
Stars: ✭ 25 (-21.87%)
Mutual labels:  sort
sublime-postcss-sorting
Sublime Text plugin to sort CSS rules content with specified order.
Stars: ✭ 19 (-40.62%)
Mutual labels:  sort

vim-sort-import

vim-sort-import

Please refer to import-sort for more details

Config example:

// enable auto sort import on write
let g:import_sort_auto = 1

// install import-sort packages
npm install --save-dev import-sort-cli import-sort-parser-babylon import-sort-parser-typescript import-sort-style-renke

// package.json:
"importSort": {
  ".js, .jsx, .es6, .es": {
    "parser": "babylon",
    "style": "renke"
  },
  ".ts, .tsx": {
    "parser": "typescript",
    "style": "renke"
  }
}

Available CMD

// run import-sort against current buffer
:SortImport

// start run import-sort on save
:StartAutoSortImport

// stop run import-sort on save
:StopAutoSortImport
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].